summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources/no-byte-compile.el
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2022-11-15 02:30:50 -0800
committerYuan Fu <casouri@gmail.com>2022-11-15 02:30:50 -0800
commit63f8a838eccf201d6290d0dc8f83881f41785afb (patch)
tree00800d9dc117223574fabe640af9dcbe22fda933 /test/lisp/emacs-lisp/bytecomp-resources/no-byte-compile.el
parente0760599b045a7ef3828ae4b624246b6beec2e75 (diff)
downloademacs-63f8a838eccf201d6290d0dc8f83881f41785afb.tar.gz
emacs-63f8a838eccf201d6290d0dc8f83881f41785afb.tar.bz2
emacs-63f8a838eccf201d6290d0dc8f83881f41785afb.zip
Make tree-sitter fontification automatically update
Now nodes that are affected and changed during re-parse will be correctly refontified. Nodes can change even if it corresponding text wasn't edited: additional text can complete the parse tree and resolve error nodes, for example. * lisp/progmodes/python.el (python-mode): Create Python parser before calling treesit-major-mode-setup. * lisp/treesit.el (treesit--font-lock-notifier): New function. (treesit-major-mode-setup): Register fontifier with every existing parser.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/no-byte-compile.el')
0 files changed, 0 insertions, 0 deletions