Add zig support
This commit is contained in:
parent
37647a67a7
commit
e5b71cc6ac
10 changed files with 430 additions and 0 deletions
22
crates/zed/src/languages/zig/indents.scm
Normal file
22
crates/zed/src/languages/zig/indents.scm
Normal file
|
@ -0,0 +1,22 @@
|
|||
[
|
||||
(Block)
|
||||
(ContainerDecl)
|
||||
(SwitchExpr)
|
||||
(InitList)
|
||||
] @indent
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @branch
|
||||
|
||||
[
|
||||
(line_comment)
|
||||
(container_doc_comment)
|
||||
(doc_comment)
|
||||
(LINESTRING)
|
||||
] @ignore
|
Loading…
Add table
Add a link
Reference in a new issue