mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 17:00:09 -04:00
Initial Elixir support
This commit is contained in:
parent
506e998da2
commit
e7e1db38cd
6 changed files with 323 additions and 0 deletions
28
queries/elixir/indents.scm
Normal file
28
queries/elixir/indents.scm
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
(arguments)
|
||||
(call)
|
||||
(do_block)
|
||||
(list)
|
||||
(map)
|
||||
(stab_expression)
|
||||
] @indent
|
||||
|
||||
(stab_expression
|
||||
right: (_) @indent)
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"{"
|
||||
"}"
|
||||
"["
|
||||
"]"
|
||||
(after_block)
|
||||
(catch_block)
|
||||
(else_block)
|
||||
(rescue_block)
|
||||
"do"
|
||||
"end"
|
||||
] @branch
|
||||
|
||||
(comment) @ignore
|
||||
Loading…
Add table
Add a link
Reference in a new issue