]> git.eshelyaron.com Git - emacs.git/commit
Improve font-locking in lua-ts-mode (bug#67554)
authorjohn muhl <jm@pub.pink>
Tue, 14 Nov 2023 22:25:43 +0000 (16:25 -0600)
committerEli Zaretskii <eliz@gnu.org>
Sat, 2 Dec 2023 13:46:47 +0000 (15:46 +0200)
commit4835c9913b2183af6003007f8eee2cd0ab4e697d
treee74acbc9475fc9a4d9f512510f8430191420120f
parent790a96ac994d7d07580fef7b5d054154a4ec7cc7
Improve font-locking in lua-ts-mode (bug#67554)

* lisp/progmodes/lua-ts-mode.el (lua-ts-mode): Move property
highlighting to level 4.
(lua-ts--keywords): Remove `true', `false' and `nil' from
keywords.
(lua-ts--font-lock-settings): Highlight assignments, functions
and labels in more places. Distinguish comment delimiters.
(lua-ts--comment-font-lock): New function.
lisp/progmodes/lua-ts-mode.el