mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix tree-sitter indent preset prev-line (bug#61998)
* lisp/treesit.el (treesit-simple-indent-presets): Fix return value.
This commit is contained in:
parent
ed3bab3cc7
commit
90504f9d89
1 changed files with 2 additions and 1 deletions
|
|
@ -1253,7 +1253,8 @@ See `treesit-simple-indent-presets'.")
|
|||
(save-excursion
|
||||
(goto-char bol)
|
||||
(forward-line -1)
|
||||
(skip-chars-forward " \t"))))
|
||||
(skip-chars-forward " \t")
|
||||
(point))))
|
||||
(cons 'column-0 (lambda (_n _p bol &rest _)
|
||||
(save-excursion
|
||||
(goto-char bol)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue