Variable: treesit-font-lock-settings
treesit-font-lock-settings is a buffer-local variable defined in
treesit.el.gz.
Documentation
A list of SETTINGs for treesit-based fontification.
The exact format of each SETTING is considered internal. Use
treesit-font-lock-rules to set this variable.
Each SETTING has the form:
(QUERY ENABLE FEATURE OVERRIDE)
QUERY must be a compiled query. See Info node (elisp)Pattern Matching for how to write a query and compile it.
For SETTING to be activated for font-lock, ENABLE must be t. To disable this SETTING, set ENABLE to nil.
FEATURE is the "feature name" of the query. Users can control
which features are enabled with treesit-font-lock-level and
treesit-font-lock-feature-list.
OVERRIDE is the override flag for this query. Its value can be
t, nil, append, prepend, keep. See more in
treesit-font-lock-rules.
Source Code
;; Defined in /usr/src/emacs/lisp/treesit.el.gz
(defvar-local treesit-font-lock-settings nil
"A list of SETTINGs for treesit-based fontification.
The exact format of each SETTING is considered internal. Use
`treesit-font-lock-rules' to set this variable.
Each SETTING has the form:
(QUERY ENABLE FEATURE OVERRIDE)
QUERY must be a compiled query. See Info node `(elisp)Pattern
Matching' for how to write a query and compile it.
For SETTING to be activated for font-lock, ENABLE must be t. To
disable this SETTING, set ENABLE to nil.
FEATURE is the \"feature name\" of the query. Users can control
which features are enabled with `treesit-font-lock-level' and
`treesit-font-lock-feature-list'.
OVERRIDE is the override flag for this query. Its value can be
t, nil, append, prepend, keep. See more in
`treesit-font-lock-rules'.")