mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -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 [
|
(arguments [
|
||||||
(call (identifier) @function)
|
(call (identifier) @function)
|
||||||
|
(identifier) @function
|
||||||
(binary_operator left: (call target: (identifier) @function) operator: "when")])?)
|
(binary_operator left: (call target: (identifier) @function) operator: "when")])?)
|
||||||
|
|
||||||
; Kernel Keywords & Special Forms
|
; Kernel Keywords & Special Forms
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue