diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-04 23:15:38 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-05 18:54:55 +0100 |
| commit | 0d1c1efff5dbf2deccc8dcacc8f2ada44b04b3c5 (patch) | |
| tree | 0ce74a82cd0212aac184bcc2565311e5e1cd71af | |
| parent | indents(go): add tests (diff) | |
| download | nvim-treesitter-0d1c1efff5dbf2deccc8dcacc8f2ada44b04b3c5.tar nvim-treesitter-0d1c1efff5dbf2deccc8dcacc8f2ada44b04b3c5.tar.gz nvim-treesitter-0d1c1efff5dbf2deccc8dcacc8f2ada44b04b3c5.tar.bz2 nvim-treesitter-0d1c1efff5dbf2deccc8dcacc8f2ada44b04b3c5.tar.lz nvim-treesitter-0d1c1efff5dbf2deccc8dcacc8f2ada44b04b3c5.tar.xz nvim-treesitter-0d1c1efff5dbf2deccc8dcacc8f2ada44b04b3c5.tar.zst nvim-treesitter-0d1c1efff5dbf2deccc8dcacc8f2ada44b04b3c5.zip | |
indents(go): fix aligned_indent for parameter_list
| -rw-r--r-- | queries/go/indents.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/queries/go/indents.scm b/queries/go/indents.scm index dc1725461..4812d28b1 100644 --- a/queries/go/indents.scm +++ b/queries/go/indents.scm @@ -13,10 +13,11 @@ [ "case" - "(" ")" - "{" "}" ] @branch (comment) @ignore + +([(parameter_list)] @aligned_indent + (#set! "delimiter" "()")) |
