aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorYuan Fu2022-11-21 11:26:46 -0800
committerYuan Fu2022-11-21 11:26:46 -0800
commit6cf8bf504285d9b8caf10ebdb3d5b61671a533ef (patch)
treebf9b6ba23b71a3ae9af9f3a1edfeb0bb095e4d56 /src/buffer.c
parent0cbb7d3bd098e80b58457cb58125cc67e56415a2 (diff)
downloademacs-6cf8bf504285d9b8caf10ebdb3d5b61671a533ef.tar.gz
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 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions