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:
Alexander Sieg 2023-10-15 20:35:08 +02:00 committed by GitHub
parent 981b13b886
commit 6608e2c868
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,6 +112,7 @@
))
(arguments [
(call (identifier) @function)
(identifier) @function
(binary_operator left: (call target: (identifier) @function) operator: "when")])?)
; Kernel Keywords & Special Forms