diff options
author | Yuan Fu <casouri@gmail.com> | 2024-12-01 18:26:40 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2025-02-13 20:18:02 -0800 |
commit | 4b020b936c5adf472319d1ea253c85c5ee54135f (patch) | |
tree | bc34b921e095bdc18dcca7ea644cc3ea65399ed8 /lisp/emacs-lisp/bytecomp.el | |
parent | b8c8ae92dba223960b54b5b6e18cce4a11bbf870 (diff) | |
download | emacs-4b020b936c5adf472319d1ea253c85c5ee54135f.tar.gz emacs-4b020b936c5adf472319d1ea253c85c5ee54135f.tar.bz2 emacs-4b020b936c5adf472319d1ea253c85c5ee54135f.zip |
Add treesit-simple-indent-standalone-predicate (bug#74386)
* lisp/treesit.el:
(treesit-simple-indent-standalone-predicate): New variable.
(treesit-simple-indent-presets): Use the predicate.
(treesit-simple-indent-presets): Update docstring.
* lisp/progmodes/c-ts-common.el:
(c-ts-common--standalone-parent):
(c-ts-common--prev-standalone-sibling): Use the predicate if
non-nil. Also, handle method chaining by default.
* doc/lispref/modes.texi (Parser-based Indentation): Add
documentation.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
0 files changed, 0 insertions, 0 deletions