mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
feat(bp): add support for Android Blueprint (#6626)
This commit is contained in:
parent
3e454836ce
commit
298a9dd4f8
8 changed files with 125 additions and 0 deletions
38
queries/bp/indents.scm
Normal file
38
queries/bp/indents.scm
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
(list_expression) @indent.begin
|
||||
|
||||
(list_expression
|
||||
"]" @indent.branch)
|
||||
|
||||
(map_expression) @indent.begin
|
||||
|
||||
(map_expression
|
||||
"}" @indent.branch)
|
||||
|
||||
(select_expression) @indent.begin
|
||||
|
||||
(select_expression
|
||||
")" @indent.branch)
|
||||
|
||||
(select_value) @indent.begin
|
||||
|
||||
(select_value
|
||||
")" @indent.branch)
|
||||
|
||||
(select_pattern
|
||||
"(" @indent.begin)
|
||||
|
||||
(select_pattern
|
||||
")" @indent.branch)
|
||||
|
||||
(select_cases) @indent.begin
|
||||
|
||||
(select_cases
|
||||
"}" @indent.branch)
|
||||
|
||||
(module) @indent.begin
|
||||
|
||||
(module
|
||||
")" @indent.branch)
|
||||
|
||||
(module
|
||||
"}" @indent.branch)
|
||||
Loading…
Add table
Add a link
Reference in a new issue