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.