Regenerate nvim config
This commit is contained in:
29
config/neovim/store/nvim-treesitter/queries/wgsl/indents.scm
Normal file
29
config/neovim/store/nvim-treesitter/queries/wgsl/indents.scm
Normal file
@ -0,0 +1,29 @@
|
||||
[
|
||||
(parameter_list)
|
||||
(compound_statement)
|
||||
(loop_statement)
|
||||
(struct_declaration)
|
||||
] @indent.begin
|
||||
|
||||
(compound_statement
|
||||
"}" @indent.end)
|
||||
|
||||
(loop_statement
|
||||
"}" @indent.end)
|
||||
|
||||
(function_declaration
|
||||
")" @indent.end)
|
||||
|
||||
(struct_declaration
|
||||
"}" @indent.end)
|
||||
|
||||
[
|
||||
"else"
|
||||
")"
|
||||
"}"
|
||||
] @indent.branch
|
||||
|
||||
[
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @indent.auto
|
||||
Reference in New Issue
Block a user