projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed3bab3
)
Fix tree-sitter indent preset prev-line (bug#61998)
author
Yuan Fu
<casouri@gmail.com>
Wed, 8 Mar 2023 00:26:33 +0000
(16:26 -0800)
committer
Yuan Fu
<casouri@gmail.com>
Wed, 8 Mar 2023 00:27:24 +0000
(16:27 -0800)
* lisp/treesit.el (treesit-simple-indent-presets): Fix return value.
lisp/treesit.el
patch
|
blob
|
history
diff --git
a/lisp/treesit.el
b/lisp/treesit.el
index 19484ceb0c256dcda3c87b0487270ab61f09025d..44a93f5e26136c4301909b82d67f05a493f2c7b0 100644
(file)
--- a/
lisp/treesit.el
+++ b/
lisp/treesit.el
@@
-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)