mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -04:00
fix(elixir): add missing possible parameters
This commit is contained in:
parent
9be9ebda0a
commit
21a7f61b06
1 changed files with 2 additions and 15 deletions
|
|
@ -152,15 +152,7 @@
|
||||||
(call (function_identifier) @keyword.function
|
(call (function_identifier) @keyword.function
|
||||||
(call
|
(call
|
||||||
function: (function_identifier) @function
|
function: (function_identifier) @function
|
||||||
(arguments
|
(arguments))
|
||||||
[(identifier) @parameter
|
|
||||||
(tuple (identifier) @parameter)
|
|
||||||
(list (identifier) @parameter)
|
|
||||||
(_
|
|
||||||
(keyword_list (identifier) @parameter))
|
|
||||||
(binary_op
|
|
||||||
left: (identifier) @parameter
|
|
||||||
operator: "\\\\")]))
|
|
||||||
(#lua-match? @keyword.function "^def%a*$"))
|
(#lua-match? @keyword.function "^def%a*$"))
|
||||||
|
|
||||||
; Definition with (some) arguments and guard(s)
|
; Definition with (some) arguments and guard(s)
|
||||||
|
|
@ -169,12 +161,7 @@
|
||||||
left:
|
left:
|
||||||
(call
|
(call
|
||||||
function: (function_identifier) @function
|
function: (function_identifier) @function
|
||||||
(arguments
|
(arguments))
|
||||||
[(identifier) @parameter
|
|
||||||
(tuple (identifier) @parameter)
|
|
||||||
(list (identifier) @parameter)
|
|
||||||
(_
|
|
||||||
(keyword_list (identifier) @parameter))]))
|
|
||||||
operator: "when")
|
operator: "when")
|
||||||
(#lua-match? @keyword.function "^def%a*$"))
|
(#lua-match? @keyword.function "^def%a*$"))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue