]> git.eshelyaron.com Git - emacs.git/commit
Various improvements to lua-ts-mode (Bug#66159)
authorjohn muhl <jm@pub.pink>
Thu, 5 Oct 2023 01:46:15 +0000 (20:46 -0500)
committerStefan Kangas <stefankangas@gmail.com>
Mon, 23 Oct 2023 08:07:52 +0000 (10:07 +0200)
commit1c261e0a6cae09e3ff36930442f2c9da44bccd6d
treea4e9a8e264a6e08fce9cf45bb73c41bbe637735f
parent731dd5f92efc9b5ba96b3f77369910527b6d84b5
Various improvements to lua-ts-mode (Bug#66159)

* lisp/progmodes/lua-ts-mode.el (lua-ts-mode): Improve movement.
(lua-ts--simple-indent-rules): Improve indentation rules.
(lua-ts-mode-map): Add key bindings and menus.
(lua-ts-mode-hook): Make hook available in Customize.
(lua-ts-inferior-history, lua-ts-inferior--write-history): Add option
to read/write an input history file.
(lua-ts-inferior-lua, lua-ts-send-buffer, lua-ts-send-file)
(lua-ts-send-region, lua-ts-inferior-prompt)
(lua-ts-inferior-prompt-continue): Support for sending buffer,
file or region to the inferior process.
(lua-ts-show-process-buffer, lua-ts-hide-process-buffer)
(lua-ts-kill-process): New functions.
(lua-ts-inferior-prompt-regexp): Remove option.
* test/lisp/progmodes/lua-ts-mode-resources/indent.erts:
* test/lisp/progmodes/lua-ts-mode-resources/movement.erts: Add
tests.
lisp/progmodes/lua-ts-mode.el
test/lisp/progmodes/lua-ts-mode-resources/indent.erts
test/lisp/progmodes/lua-ts-mode-resources/movement.erts