You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently tree-sitter-hl-mode disables all of font-lock-mode's highlighting.
It should instead disable only patterns set by the major mode, i.e. font-lock-defaults, and respect patterns added by minor modes and end users (through font-lock-add-keywords).
Note: This is a bit tricky, as the way font-lock-mode supports custom patterns is messy. See e.g. font-lock-refresh-defaults.
The text was updated successfully, but these errors were encountered:
Currently
tree-sitter-hl-mode
disables all offont-lock-mode
's highlighting.It should instead disable only patterns set by the major mode, i.e.
font-lock-defaults
, and respect patterns added by minor modes and end users (throughfont-lock-add-keywords
).Note: This is a bit tricky, as the way
font-lock-mode
supports custom patterns is messy. See e.g.font-lock-refresh-defaults
.The text was updated successfully, but these errors were encountered: