From 6201acab8c7255d8613a9d99a3e0b719be73b155 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 17 Feb 2016 12:56:11 +0900 Subject: [PATCH] Fix regexp --- emacs.el | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/emacs.el b/emacs.el index a93bb25..06d01d1 100644 --- a/emacs.el +++ b/emacs.el @@ -1901,23 +1901,23 @@ This mode is a simplified version of `adoc-mode'." "#" `( ("^#.*\\|^;.*\\| #.*\\| ;.*" 0 font-lock-comment-face) - ("\\b\\(root\\)[ \t]*=" 1 font-lock-builtin-face) - ("\\b\\(indent_style\\)[ \t]*=" 1 font-lock-builtin-face) - ("\\b\\(indent_size\\)[ \t]*=" 1 font-lock-builtin-face) - ("\\b\\(tab_width\\)[ \t]*=" 1 font-lock-builtin-face) - ("\\b\\(end_of_line\\)[ \t]*=" 1 font-lock-builtin-face) - ("\\b\\(charset\\)[ \t]*=" 1 font-lock-builtin-face) - ("\\b\\(trim_trailing_whitespace\\)[ \t]*=" 1 font-lock-builtin-face) - ("\\b\\(insert_final_newline\\)[ \t]*=" 1 font-lock-builtin-face) - ("\\b\\(max_line_length\\)[ \t]*=" 1 font-lock-builtin-face) - - ("=[ \t]*\\(true\\)\\b" 1 font-lock-constant-face) - ("=[ \t]*\\(false\\)\\b" 1 font-lock-constant-face) - ("=[ \t]*\\(lf\\)\\b" 1 font-lock-constant-face) - ("=[ \t]*\\(cr\\)\\b" 1 font-lock-constant-face) - ("=[ \t]*\\(crlf\\)\\b" 1 font-lock-constant-face) - ("=[ \t]*\\(space\\)\\b" 1 font-lock-constant-face) - ("=[ \t]*\\(tab\\)\\b" 1 font-lock-constant-face) + ("^[ \t]*\\(root\\)[ \t]*=" 1 font-lock-builtin-face) + ("^[ \t]*\\(indent_style\\)[ \t]*=" 1 font-lock-builtin-face) + ("^[ \t]*\\(indent_size\\)[ \t]*=" 1 font-lock-builtin-face) + ("^[ \t]*\\(tab_width\\)[ \t]*=" 1 font-lock-builtin-face) + ("^[ \t]*\\(end_of_line\\)[ \t]*=" 1 font-lock-builtin-face) + ("^[ \t]*\\(charset\\)[ \t]*=" 1 font-lock-builtin-face) + ("^[ \t]*\\(trim_trailing_whitespace\\)[ \t]*=" 1 font-lock-builtin-face) + ("^[ \t]*\\(insert_final_newline\\)[ \t]*=" 1 font-lock-builtin-face) + ("^[ \t]*\\(max_line_length\\)[ \t]*=" 1 font-lock-builtin-face) + + ("=[ \t]*\\(true\\)\\([ \t]\\|$\\)" 1 font-lock-constant-face) + ("=[ \t]*\\(false\\)\\([ \t]\\|$\\)" 1 font-lock-constant-face) + ("=[ \t]*\\(lf\\)\\([ \t]\\|$\\)" 1 font-lock-constant-face) + ("=[ \t]*\\(cr\\)\\([ \t]\\|$\\)" 1 font-lock-constant-face) + ("=[ \t]*\\(crlf\\)\\([ \t]\\|$\\)" 1 font-lock-constant-face) + ("=[ \t]*\\(space\\)\\([ \t]\\|$\\)" 1 font-lock-constant-face) + ("=[ \t]*\\(tab\\)\\([ \t]\\|$\\)" 1 font-lock-constant-face) ,@conf-font-lock-keywords))) (add-to-list 'auto-mode-alist