aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)