mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
Fix tree-sitter variable name
* lisp/treesit.el: (treesit-languages-require-line-column-tracking): This is what treesit.c uses. * src/treesit.c: Fix comment typo.
This commit is contained in:
parent
b0034dffcc
commit
6894b65440
2 changed files with 2 additions and 2 deletions
|
|
@ -1264,7 +1264,7 @@ omitted, default END to BEG."
|
|||
;;; Language
|
||||
|
||||
;; Defined in treesit.c. This is just to add some default values.
|
||||
(defvar treesit-languages-need-line-column-tracking
|
||||
(defvar treesit-languages-require-line-column-tracking
|
||||
'(haskell))
|
||||
|
||||
;; The entries are sorted by `sort-lines'.
|
||||
|
|
|
|||
|
|
@ -1527,7 +1527,7 @@ treesit_linecol_maybe (ptrdiff_t pos, ptrdiff_t pos_byte,
|
|||
does not parse the buffer and only updates the tree, so it should be
|
||||
very fast.
|
||||
|
||||
This is a wrapper over treesit_record_change that does a bit more
|
||||
This is a wrapper over treesit_record_change_1 that does a bit more
|
||||
boilerplate work: it (optionally) calculates linecol for new_end,
|
||||
pass all the positions into treesit_record_change_1 which does the
|
||||
real work, and finally (optionally) sets buffer's linecol cache to
|
||||
|
|
|
|||
Loading…
Reference in a new issue