GNU bug report logs -
#67246
30.0.50; elixir-ts-mode uses faces inconsistently
Previous Next
Full log
View this message in rfc822 format
On 05/02/2024 19:34, Wilhelm Kirschbaum wrote:
>
> Adding this as the first item to :feature 'elixir-definition fixes the
> function-call/name issue:
>
> @@ -360,13 +360,19 @@ elixir-ts--indent-rules
> (defvar elixir-ts--font-lock-settings
> (treesit-font-lock-rules
> :language 'elixir
> - :feature 'elixir-function-name
> + :feature 'elixir-definition
> `((call target: (identifier) @target-identifier
> + (arguments
> + (call target: (identifier) @font-lock-function-name-face
> + (arguments)))
> + (:match ,elixir-ts--definition-keywords-re @target-identifier))
> + (call target: (identifier) @target-identifier
> (arguments (identifier) @font-lock-function-name-face)
>
> I will be working in Elixir this week and will set different fonts for
> to test it during the week, but don't think it should hold up installing
> the suggested patch so long.
Thanks!
Could you give an example of problematic highlighting, though? So I can
keep it mind when installing both changes.
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.