GNU bug report logs -
#67554
[PATCH] Improve font-lock in lua-ts-mode
Previous Next
Reported by: john muhl <jm <at> pub.pink>
Date: Fri, 1 Dec 2023 00:07:01 UTC
Severity: normal
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Date: Thu, 30 Nov 2023 18:34:59 -0600
>> From: john muhl via "Bug reports for GNU Emacs,
>> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>>
>>
>> >From 5a87b7b231a384c7035e75105bc173fc05f38336 Mon Sep 17 00:00:00 2001
>> From: john muhl <jm <at> pub.pink>
>> Date: Tue, 14 Nov 2023 16:25:43 -0600
>> Subject: [PATCH] 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.
>
> Thanks, pushed to the master branch (with a couple of minor
> adjustments), and closing the bug.
Thanks for the help. The missing period in the doc string was
inherited from ruby-ts-mode if you wanted to fix the same thing
there (line 200). Or I could send a patch if that is somehow
less work for you.
This bug report was last modified 1 year and 168 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.