mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(elixir): highlight functions without parenthesis (#5511)
Elixir does not require parenthesis after the function name for a valid function definition.
This commit is contained in:
parent
981b13b886
commit
6608e2c868
1 changed files with 1 additions and 0 deletions
|
|
@ -112,6 +112,7 @@
|
|||
))
|
||||
(arguments [
|
||||
(call (identifier) @function)
|
||||
(identifier) @function
|
||||
(binary_operator left: (call target: (identifier) @function) operator: "when")])?)
|
||||
|
||||
; Kernel Keywords & Special Forms
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue