Commit ae9202de authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

Tweak font-locking in conf-mode for "#foo { bar" lines

* lisp/textmodes/conf-mode.el (conf-font-lock-keywords): Don't
font-lock comments as keywords (bug#24355).
parent 471d198c
Pipeline #2610 failed with stage
in 90 minutes and 11 seconds
......@@ -194,7 +194,7 @@ not align (only setting space according to `conf-assignment-space')."
(1 'font-lock-variable-name-face)
(2 'font-lock-constant-face nil t))
;; section { ... } (do this last because some assign ...{...)
("^[ \t]*\\([^=:\n]+?\\)[ \t\n]*{[^{}]*?$" 1 'font-lock-type-face prepend))
("^[ \t]*\\([^#=:\n]+?\\)[ \t\n]*{[^{}]*?$" 1 'font-lock-type-face prepend))
"Keywords to highlight in Conf mode.")
(defvar conf-javaprop-font-lock-keywords
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment