mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
Elixir: Highlight with as conditional
`with` is also considered a conditional in Elixir. Highlight it accordingly.
This commit is contained in:
parent
6c2ff319b3
commit
ea8482621e
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@
|
||||||
"else" @conditional
|
"else" @conditional
|
||||||
|
|
||||||
(call (function_identifier) @conditional
|
(call (function_identifier) @conditional
|
||||||
(#any-of? @conditional "case" "cond" "if" "unless"))
|
(#any-of? @conditional "case" "cond" "if" "unless" "with"))
|
||||||
|
|
||||||
(call (function_identifier) @repeat
|
(call (function_identifier) @repeat
|
||||||
(#eq? @repeat "for"))
|
(#eq? @repeat "for"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue