diff options
author | Yuan Fu <casouri@gmail.com> | 2022-11-21 11:26:46 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-11-21 11:26:46 -0800 |
commit | 6cf8bf504285d9b8caf10ebdb3d5b61671a533ef (patch) | |
tree | bf9b6ba23b71a3ae9af9f3a1edfeb0bb095e4d56 /test/lisp/erc/erc-scenarios-join-auth-source.el | |
parent | 0cbb7d3bd098e80b58457cb58125cc67e56415a2 (diff) | |
download | emacs-6cf8bf504285d9b8caf10ebdb3d5b61671a533ef.tar.gz emacs-6cf8bf504285d9b8caf10ebdb3d5b61671a533ef.tar.bz2 emacs-6cf8bf504285d9b8caf10ebdb3d5b61671a533ef.zip |
Allow major modes to tweak tree-sitter fontification
treesit--font-lock-query-expand-range allows a major mode to fix
fontification problems temporarily before the parser can be fixed.
* lisp/treesit.el (treesit--font-lock-query-expand-range): New variable.
(treesit-font-lock-fontify-region): Use the new variable.
* lisp/textmodes/css-mode.el (css-ts-mode): Use the new variable.
Diffstat (limited to 'test/lisp/erc/erc-scenarios-join-auth-source.el')
0 files changed, 0 insertions, 0 deletions