Skip to content

Commit 9a46569

Browse files
committed
Fix font-lock of jsonc-mode.
Fixes #80
1 parent 72f340d commit 9a46569

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

json-mode.el

+1-2
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,7 @@ See `forward-sexp for ARG."
201201
;;;###autoload
202202
(define-derived-mode jsonc-mode json-mode "JSONC"
203203
"Major mode for editing JSON files with comments."
204-
:syntax-table jsonc-mode-syntax-table
205-
(setq font-lock-defaults '(json-font-lock-keywords-1 t)))
204+
:syntax-table jsonc-mode-syntax-table)
206205

207206
;; Well formatted JSON files almost always begin with “{” or “[”.
208207
;;;###autoload

0 commit comments

Comments
 (0)