diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2023-02-19 01:07:36 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2023-02-19 08:16:30 -0800 |
| commit | ce0dba96f47cd8bbd46b4c3ac8fd1b9502f1002a (patch) | |
| tree | ece0fcea9b460d712c8703716dd490f26dab6939 /queries/go | |
| parent | Update parsers: python (diff) | |
| download | nvim-treesitter-ce0dba96f47cd8bbd46b4c3ac8fd1b9502f1002a.tar nvim-treesitter-ce0dba96f47cd8bbd46b4c3ac8fd1b9502f1002a.tar.gz nvim-treesitter-ce0dba96f47cd8bbd46b4c3ac8fd1b9502f1002a.tar.bz2 nvim-treesitter-ce0dba96f47cd8bbd46b4c3ac8fd1b9502f1002a.tar.lz nvim-treesitter-ce0dba96f47cd8bbd46b4c3ac8fd1b9502f1002a.tar.xz nvim-treesitter-ce0dba96f47cd8bbd46b4c3ac8fd1b9502f1002a.tar.zst nvim-treesitter-ce0dba96f47cd8bbd46b4c3ac8fd1b9502f1002a.zip | |
feat(go): add folds for type switch and switch cases
Diffstat (limited to 'queries/go')
| -rw-r--r-- | queries/go/folds.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/go/folds.scm b/queries/go/folds.scm index e1b7a83e9..2c0beb4f6 100644 --- a/queries/go/folds.scm +++ b/queries/go/folds.scm @@ -1,6 +1,10 @@ [ (const_declaration) (expression_switch_statement) + (expression_case) + (default_case) + (type_switch_statement) + (type_case) (for_statement) (func_literal) (function_declaration) |
