Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/go/injections.scm')
| -rw-r--r-- | runtime/queries/go/injections.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/queries/go/injections.scm b/runtime/queries/go/injections.scm index c97d62ae..ce0e1604 100644 --- a/runtime/queries/go/injections.scm +++ b/runtime/queries/go/injections.scm @@ -9,7 +9,7 @@ ; This is only a partial implementation, which covers only ; block comments. For line comments (which are more common), ; upstream changes to the grammar are required. -( +(source_file (comment) @injection.content . (comment)* . [ (package_clause) ; `package` (type_declaration) ; `type` @@ -21,12 +21,12 @@ ; A = 1 ; B = 2 ; ) - (const_spec) + (var_spec) ; const ( ; A = 1 ; B = 2 ; ) - (var_spec) + (const_spec) ] (#set! injection.language "markdown")) |