branch: scratch/editorconfig-cc
commit 312f92419cd77d127a5caaea6796cb4e69c8709c
Author: Hong Xu <[email protected]>
Commit: Stefan Monnier <[email protected]>
No need to explicitly highlight the comments via font-lock in
editorconfig-conf-mode
---
editorconfig.el | 3 ---
1 file changed, 3 deletions(-)
diff --git a/editorconfig.el b/editorconfig.el
index 5618ea6bb9..8d701f9e83 100644
--- a/editorconfig.el
+++ b/editorconfig.el
@@ -378,9 +378,6 @@ visiting files or changing major modes if the major mode is
not listed in
'font-lock-value
`(,(format "^[ \t]*\\(%s\\)[ \t]*[=:]" key-property)
1 font-lock-builtin-face)))
- ;; Highlight comments
- (add-to-list 'font-lock-value
- '("^#.*\\|^;.*\\| #.*\\| ;.*" 0 font-lock-comment-face))
(conf-mode-initialize "#" font-lock-value)))