]> git.eshelyaron.com Git - emacs.git/commit
Fix treesit range rule for jsdoc
authorVincenzo Pupillo <v.pupillo@gmail.com>
Thu, 27 Jun 2024 14:13:58 +0000 (16:13 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 7 Jul 2024 13:16:57 +0000 (15:16 +0200)
commit853dce91ccb0e1e2ee2bbdf52713b572e9712b18
tree3549a478946632bcb05d83ef90c7be8fb451b149
parent7688809dd7d7be42a715f0875f6eef751656af6f
Fix treesit range rule for jsdoc

The parser for jsdoc is local, so it is necessary for the range
rule to take this into account.
* lisp/progmodes/js.el (js-ts-mode): Add ':local' keyword.
(js-ts-language-at-point): Remove 'js-ts-language-at-point'.
(Bug#71776)

(cherry picked from commit f910514721e2eac1535d51ccebf7f136be3ba57f)
lisp/progmodes/js.el