Start on a query-based autoindent system

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld
2021-05-26 17:23:53 -07:00
co-authored by Nathan Sobo
parent 3c0673852b
commit 7bea3fd2fe
4 changed files with 196 additions and 105 deletions
+7
View File
@@ -0,0 +1,7 @@
(where_clause) @indent
(field_expression) @indent
(_ "(" ")" @outdent) @indent
(_ "[" "]" @outdent) @indent
(_ "{" "}" @outdent) @indent