projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db725f
)
; * lisp/treesit.el (treesit--indent-1): Get all parsers.
author
Yuan Fu
<casouri@gmail.com>
Fri, 8 Sep 2023 16:09:14 +0000
(09:09 -0700)
committer
Yuan Fu
<casouri@gmail.com>
Fri, 8 Sep 2023 16:09:14 +0000
(09:09 -0700)
lisp/treesit.el
patch
|
blob
|
history
diff --git
a/lisp/treesit.el
b/lisp/treesit.el
index 63ec880b601cc829117debcbf75cf0dc0f0e85a6..1711446b40b1bac42dfb5cc1ed08ed22ea74ec03 100644
(file)
--- a/
lisp/treesit.el
+++ b/
lisp/treesit.el
@@
-1627,7
+1627,7
@@
Return (ANCHOR . OFFSET). This function is used by
(cond ((null (treesit-parser-list)) nil)
(local-parsers (treesit-node-at
bol (car local-parsers)))
- ((eq 1 (length (treesit-parser-list)))
+ ((eq 1 (length (treesit-parser-list
nil nil t
)))
(treesit-node-at bol))
((treesit-language-at (point))
(treesit-node-at bol (treesit-language-at (point))))