]> git.eshelyaron.com Git - emacs.git/commit
Fix tree-sitter range update function
authorYuan Fu <casouri@gmail.com>
Sat, 16 Sep 2023 16:03:16 +0000 (09:03 -0700)
committerYuan Fu <casouri@gmail.com>
Tue, 19 Sep 2023 03:48:54 +0000 (20:48 -0700)
commit5cba5ee8905a41484beef4100976acd52b5b1531
tree95ea20c78089a96c8b30986e0faef54daf90f0cc
parent41333cb2d5f42d5fe23f77d4a8c7ae25bb88f8f0
Fix tree-sitter range update function

* lisp/treesit.el (treesit-update-ranges): If an embedded language
doesn't have any range, don't set its range to nil (which means whole
buffer), instead, set its range to a dummy (1 . 1) zero range.
lisp/treesit.el