aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatouš Dzivjak2022-12-02 14:06:35 +0000
committerGitHub2022-12-02 14:06:35 +0000
commitd0bc38d6fa60e36ef317e8bbbaa11aeb30470ecc (patch)
tree057b68116ebdbfda2cbb3dba0104b3653721e195
parent39ce82b7a59de8adcb1626151b1ce8fe7b7a4a8e (diff)
feat(lang): bump tree-sitter-go (#4969)
Update tree-sitter-go to latest with updated support for generics. See: https://github.com/tree-sitter/tree-sitter-go/compare/0fa917a7022d1cd2e9b779a6a8fc5dc7fad69c75..05900faa3cdb5d2d8c8bd5e77ee698487e0a8611 for full diff.
-rw-r--r--languages.toml2
-rw-r--r--runtime/queries/go/indents.scm2
2 files changed, 2 insertions, 2 deletions
diff --git a/languages.toml b/languages.toml
index 4eb8a4da..9664d93a 100644
--- a/languages.toml
+++ b/languages.toml
@@ -301,7 +301,7 @@ args = { mode = "local", processId = "{0}" }
[[grammar]]
name = "go"
-source = { git = "https://github.com/tree-sitter/tree-sitter-go", rev = "0fa917a7022d1cd2e9b779a6a8fc5dc7fad69c75" }
+source = { git = "https://github.com/tree-sitter/tree-sitter-go", rev = "05900faa3cdb5d2d8c8bd5e77ee698487e0a8611" }
[[language]]
name = "gomod"
diff --git a/runtime/queries/go/indents.scm b/runtime/queries/go/indents.scm
index 8bfc7c3f..f72ec9e8 100644
--- a/runtime/queries/go/indents.scm
+++ b/runtime/queries/go/indents.scm
@@ -5,7 +5,7 @@
(type_spec)
(func_literal)
(literal_value)
- (element)
+ (literal_element)
(keyed_element)
(expression_case)
(default_case)