]> git.eshelyaron.com Git - emacs.git/commit
Use TS to support 'hs-minor-mode' in 'lua-ts-mode'
authorjohn muhl <jm@pub.pink>
Wed, 26 Feb 2025 16:31:24 +0000 (10:31 -0600)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Mar 2025 10:30:35 +0000 (11:30 +0100)
commitf1ece3077e9a30d0057a7ab2ca5ababcfb0871e7
tree5881f2fa23e21aec73376a63296de419c3c39e18
parentda732aeaeb5fe2db319618747ed5337be7b5ca47
Use TS to support 'hs-minor-mode' in 'lua-ts-mode'

* lisp/progmodes/lua-ts-mode.el (lua-ts-mode): Add list type to
'treesit-thing-settings'.
* lisp/progmodes/hideshow.el (hs-special-modes-alist):
Remove regular expression based implementation.
* test/lisp/progmodes/lua-ts-mode-resources/hide-show.lua: New file.
* test/lisp/progmodes/lua-ts-mode-tests.el (lua-ts-test-hideshow):
Add test.  (Bug#76693)

(cherry picked from commit 2f1b1414f78e471f1c4e852c1cbd8320cb0fa60d)
lisp/progmodes/hideshow.el
lisp/progmodes/lua-ts-mode.el
test/lisp/progmodes/lua-ts-mode-resources/hide-show.lua [new file with mode: 0644]
test/lisp/progmodes/lua-ts-mode-tests.el