mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -04:00
feat(streamdevice_proto): add parser and queries
This commit is contained in:
parent
6e42d823ce
commit
5d9526e9b0
6 changed files with 149 additions and 0 deletions
21
runtime/queries/streamdevice_proto/indents.scm
Normal file
21
runtime/queries/streamdevice_proto/indents.scm
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[
|
||||
(function)
|
||||
(handler)
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"{"
|
||||
"}"
|
||||
"("
|
||||
")"
|
||||
] @indent.branch
|
||||
|
||||
[
|
||||
"}"
|
||||
")"
|
||||
] @indent.end
|
||||
|
||||
[
|
||||
(comment)
|
||||
(string)
|
||||
] @indent.auto
|
||||
Loading…
Add table
Add a link
Reference in a new issue