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 20:29:07 -0800
committerYuan Fu <casouri@gmail.com>2022-11-16 14:40:37 -0800
commit306e49285a04c02f0a575a7d7b2f82eeb032c86b (patch)
tree4640e3aa8ed6e24422a54171a7e9032e12c2312f /test/lisp/emacs-lisp/bytecomp-resources/no-byte-compile.el
parentd1ef0243eb6e7cd9720236eb0e900fe7163b3c2b (diff)
downloademacs-306e49285a04c02f0a575a7d7b2f82eeb032c86b.tar.gz
emacs-306e49285a04c02f0a575a7d7b2f82eeb032c86b.tar.bz2
emacs-306e49285a04c02f0a575a7d7b2f82eeb032c86b.zip
Add treesit-explore-mode
This mode is basically the tree-sitter playground[1] in Emacs: displays the syntax tree with the source side-by-side, kept in sync in real-time. [1] https://tree-sitter.github.io/tree-sitter/playground * doc/lispref/parsing.texi (Language Definitions): Mention in manual. * lisp/treesit.el (treesit--explorer-buffer) (treesit--explorer-source-buffer) (treesit--explorer-language) (treesit--explorer-refresh-timer) (treesit--explorer-highlight-overlay) (treesit--explorer-last-node): New variables. * lisp/treesit.el (treesit--explorer--nodes-to-highlight) (treesit--explorer-refresh) (treesit--explorer-post-command) (treesit--explorer-jump) (treesit--explorer-highlight-node) (treesit--explorer-draw-node): New functions. (treesit--explorer-tree-mode) (treesit-explore-mode): New modes.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/no-byte-compile.el')
0 files changed, 0 insertions, 0 deletions