mirror of https://github.com/helix-editor/helix
Add indentation queries for golang.
parent
5e6b46e7c5
commit
31d41080ed
@ -0,0 +1,21 @@
|
||||
indent = [
|
||||
"import_declaration",
|
||||
"const_declaration",
|
||||
"var_declaration",
|
||||
"function_declaration",
|
||||
"method_declaration",
|
||||
"composite_literal",
|
||||
"func_literal",
|
||||
"literal_value",
|
||||
"expression_case",
|
||||
"default_case",
|
||||
"argument_list",
|
||||
"block"
|
||||
]
|
||||
|
||||
outdent = [
|
||||
"case",
|
||||
"}",
|
||||
"]",
|
||||
")"
|
||||
]
|
Loading…
Reference in New Issue