]> git.eshelyaron.com Git - emacs.git/commit
Remove comment-start-skip preset in tree-sitter indentation engine
authorYuan Fu <casouri@gmail.com>
Sun, 18 Dec 2022 22:11:54 +0000 (14:11 -0800)
committerYuan Fu <casouri@gmail.com>
Sun, 18 Dec 2022 22:48:38 +0000 (14:48 -0800)
commitce7b7e5af3ddb2863c0c4f6f7c91d1b6c205f1a0
tree4cc3624341851c2660400a5c3aa689e29280d354
parentc1e015ae320c7ea0f9ca764b2df5fcd6f0d39994
Remove comment-start-skip preset in tree-sitter indentation engine

Comment indentation should use a adaptive-fill-based indent, rather
than comment-start-skip.

Also remove manual description of removed variables in treesit.el and
add documentation for n-p-gp upon request.

* doc/lispref/modes.texi (Parser-based Indentation)
* lisp/treesit.el (treesit-simple-indent-presets): Add n-p-gp, remove
treesit-comment-start/end, remove comment-start-skip.

* doc/lispref/parsing.texi (Tree-sitter major modes): Remove
treesit-comment-start/end.
doc/lispref/modes.texi
doc/lispref/parsing.texi
lisp/progmodes/c-ts-mode.el
lisp/treesit.el