Variable: json-ts-mode--font-lock-settings
json-ts-mode--font-lock-settings is a variable defined in
json-ts-mode.el.gz.
Value
((#<treesit-compiled-query> t comment nil nil json)
(#<treesit-compiled-query> t bracket nil nil json)
(#<treesit-compiled-query> t constant nil nil json)
(#<treesit-compiled-query> t delimiter nil nil json)
(#<treesit-compiled-query> t number nil nil json)
(#<treesit-compiled-query> t string nil nil json)
(#<treesit-compiled-query> t escape-sequence t nil json)
(#<treesit-compiled-query> t pair t nil json)
(#<treesit-compiled-query> t error t nil json))
Documentation
Font-lock settings for JSON.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/json-ts-mode.el.gz
(defvar json-ts-mode--font-lock-settings
(treesit-font-lock-rules
:language 'json
:feature 'comment
'((comment) @font-lock-comment-face)
:language 'json
:feature 'bracket
'((["[" "]" "{" "}"]) @font-lock-bracket-face)
:language 'json
:feature 'constant
'([(null) (true) (false)] @font-lock-constant-face)
:language 'json
:feature 'delimiter
'((["," ":"]) @font-lock-delimiter-face)
:language 'json
:feature 'number
'((number) @font-lock-number-face)
:language 'json
:feature 'string
'((string) @font-lock-string-face)
:language 'json
:feature 'escape-sequence
:override t
'((escape_sequence) @font-lock-escape-face)
:language 'json
:feature 'pair
:override t ; Needed for overriding string face on keys.
'((pair key: (_) @font-lock-property-use-face))
:language 'json
:feature 'error
:override t
'((ERROR) @font-lock-warning-face))
"Font-lock settings for JSON.")