diff options
author | Yuan Fu <casouri@gmail.com> | 2022-09-30 16:54:42 -0700 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-09-30 16:54:42 -0700 |
commit | e504eabe88727141e70ae9793be71d4285f839a5 (patch) | |
tree | 914145e33abb3b1a18bbf0b38fdd09d8c27b2374 /doc/lispref/modes.texi | |
parent | 6e60d464188994bdce97f1aef3b81fae3fd28583 (diff) | |
download | emacs-e504eabe88727141e70ae9793be71d4285f839a5.tar.gz emacs-e504eabe88727141e70ae9793be71d4285f839a5.tar.bz2 emacs-e504eabe88727141e70ae9793be71d4285f839a5.zip |
Change tree-sitter indent anchor preset 'prev-line'
* doc/lispref/modes.texi: Update manual.
* lisp/treesit.el (treesit-simple-indent-presets): Change prev-line to
mean bol of prev-line.
Diffstat (limited to 'doc/lispref/modes.texi')
-rw-r--r-- | doc/lispref/modes.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index d6797fe04f5..ab83d8712b2 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -4820,8 +4820,8 @@ This anchor returns the start of @var{node}, i.e., no indent. prev-line @end example -This anchor returns the start of the first named node on the previous -line. This can be used for indenting an empty line. +This anchor returns the first non-whitespace charater on the previous +line. @end defvar @heading Indentation utilities |