aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjohn muhl2024-11-10 11:26:33 -0600
committerEli Zaretskii2024-11-14 10:14:46 +0200
commitd592832504554c6ee30bea263e55dc84feaec18d (patch)
treec0f14eddc82e6c74d45cbeec99ad46d1af7c4c42 /src
parent6bc44ccf287a398d47563ddf60d13784cd64720f (diff)
downloademacs-d592832504554c6ee30bea263e55dc84feaec18d.tar.gz
emacs-d592832504554c6ee30bea263e55dc84feaec18d.zip
Improve comment indenting in 'lua-ts-mode'
* lisp/progmodes/lua-ts-mode.el (lua-ts--simple-indent-rules): Align single line comments with the surrounding context. (lua-ts--comment-first-sibling-matcher): Check that comment is the first sibling. (lua-ts--multi-line-comment-start): New function. * test/lisp/progmodes/lua-ts-mode-resources/indent.erts: Add tests. (Bug#74298)
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions