]> git.eshelyaron.com Git - emacs.git/commit
Add syntax-propertize-function to ruby-ts-mode
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 4 Feb 2023 01:34:22 +0000 (03:34 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 4 Feb 2023 01:34:40 +0000 (03:34 +0200)
commitd99b5151f8c41d45084d10c49c86d6c228d5f730
tree4ccad20c50882534a861ceb56c77904ea32c70f8
parentf25c15ceb7d9b26cc8b93648730571187ef36c85
Add syntax-propertize-function to ruby-ts-mode

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--s-p-query):
New variable.
(ruby-ts--syntax-propertize): New function.
(ruby-ts--parser-after-change): New function.
(ruby-ts-mode): Use both of them.
lisp/progmodes/ruby-ts-mode.el