diff options
author | Yuan Fu <casouri@gmail.com> | 2022-11-15 21:30:13 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-11-16 14:40:40 -0800 |
commit | 75b65b3f67eb9a4e5722780cb915b880e667d674 (patch) | |
tree | 19c3884f0b92a25f8f02a232004d3999288bd8ee /lisp/treesit.el | |
parent | 306e49285a04c02f0a575a7d7b2f82eeb032c86b (diff) | |
download | emacs-75b65b3f67eb9a4e5722780cb915b880e667d674.tar.gz emacs-75b65b3f67eb9a4e5722780cb915b880e667d674.tar.bz2 emacs-75b65b3f67eb9a4e5722780cb915b880e667d674.zip |
; Add documentation for tree-sitter parser after-change notifiers
* doc/lispref/parsing.texi (Using Parser): Update manual.
* lisp/treesit.el (treesit): Add shordocs.
* src/treesit.c: Augment docstrings.
Diffstat (limited to 'lisp/treesit.el')
-rw-r--r-- | lisp/treesit.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/treesit.el b/lisp/treesit.el index 561d29284c7..1284afe84bc 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -2033,6 +2033,11 @@ window." (treesit-parser-language :no-eval (treesit-parser-language parser) :eg-result c) + (treesit-parser-add-notifier) + (treesit-parser-remove-notifier) + (treesit-parser-notifiers + :no-eval (treesit-parser-notifiers parser) + :eg-result (function1 function2 function3)) "Parser ranges" |