emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ELPA] New package: ert-font-lock


From: john muhl
Subject: Re: [ELPA] New package: ert-font-lock
Date: Tue, 21 Nov 2023 10:51:40 -0600

Vladimir Kazanov <vekazanov@gmail.com> writes:

> On Tue, 21 Nov 2023 at 04:48, john muhl <jm@pub.pink> wrote:
>
>> FWIW I used it to add tests for lua-ts-mode’s font-lock rules.
>> It works well and feels to me like it would be a nice addition
>> to Emacs. Thanks for working on it.
>
> Hey, that's nice to hear!
>
> Can I take a look at the code? Curious about the way comment
> highlighting is implemented in your mode.

https://git.sv.gnu.org/cgit/emacs.git/tree/lisp/progmodes/lua-ts-mode.el

Attached are the tests. They fail against master since some bugs
were found in the process.

> I did test popular Emacs major modes (cc-mode and the like, python,
> php, etc) but few ts-based ones. And even in the pre-Tree-sitter world
> comment detection is rather unstable and needs custom hacks in some
> cases.

Attachment: 0001-Add-font-lock-tests-for-lua-ts-mode-ert-font-lock.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]