mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
feat(goctl): add indents
This commit is contained in:
parent
d5969c481e
commit
656ac24233
1 changed files with 15 additions and 0 deletions
15
queries/goctl/indents.scm
Normal file
15
queries/goctl/indents.scm
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
[
|
||||||
|
(importGroup)
|
||||||
|
(typeGroupSpec)
|
||||||
|
(structType)
|
||||||
|
(infoStatement)
|
||||||
|
(serviceServerSpec)
|
||||||
|
(serviceSpec)
|
||||||
|
] @indent.begin
|
||||||
|
|
||||||
|
[
|
||||||
|
")"
|
||||||
|
"}"
|
||||||
|
] @indent.branch @indent.end
|
||||||
|
|
||||||
|
(comment) @indent.ignore
|
||||||
Loading…
Add table
Add a link
Reference in a new issue