]> git.eshelyaron.com Git - emacs.git/commit
Support indented continuation lines in lua-ts-mode
authorjohn muhl <jm@pub.pink>
Sat, 6 Jan 2024 15:36:33 +0000 (09:36 -0600)
committerStefan Kangas <stefankangas@gmail.com>
Thu, 11 Jan 2024 20:51:23 +0000 (21:51 +0100)
commita66069c50c8eaf4a3ee253e7b7e47af48e721585
tree60778b5160bc4038e5389f0cb63b886f20f9c3dd
parent07bb8dc0afaef5ec7a7e194df42cc019ce8604d4
Support indented continuation lines in lua-ts-mode

* lisp/progmodes/lua-ts-mode.el (lua-ts--simple-indent-rules):
Add a rule to indent multi-line assignments and if statements.
(lua-ts-indent-continuation-lines): New user option.
* test/lisp/progmodes/lua-ts-mode-resources/indent.erts: Add
tests.  (Bug#68279)
lisp/progmodes/lua-ts-mode.el
test/lisp/progmodes/lua-ts-mode-resources/indent.erts