summaryrefslogtreecommitdiff
path: root/test/lisp/vc/vc-git-tests.el
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2022-11-21 11:26:46 -0800
committerYuan Fu <casouri@gmail.com>2022-11-21 11:26:46 -0800
commit6cf8bf504285d9b8caf10ebdb3d5b61671a533ef (patch)
treebf9b6ba23b71a3ae9af9f3a1edfeb0bb095e4d56 /test/lisp/vc/vc-git-tests.el
parent0cbb7d3bd098e80b58457cb58125cc67e56415a2 (diff)
downloademacs-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/vc/vc-git-tests.el')
0 files changed, 0 insertions, 0 deletions