diff options
author | Ben Haines | 2023-09-26 16:05:42 +0000 |
---|---|---|
committer | GitHub | 2023-09-26 16:05:42 +0000 |
commit | 2776233a6f732edb69e2adf853ad0cb8c12afc59 (patch) | |
tree | 5b6a14bf1d23b7b594aab205d9097f113f045de8 /runtime/queries/go/highlights.scm | |
parent | 01e281ce107e57cc1865a0e09e89a8e8c79f2a4e (diff) |
update go highlight queries (#8399)
Diffstat (limited to 'runtime/queries/go/highlights.scm')
-rw-r--r-- | runtime/queries/go/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queries/go/highlights.scm b/runtime/queries/go/highlights.scm index b2d81e45..b45a11be 100644 --- a/runtime/queries/go/highlights.scm +++ b/runtime/queries/go/highlights.scm @@ -24,7 +24,6 @@ ; Identifiers -((identifier) @constant (match? @constant "^[A-Z][A-Z\\d_]+$")) (const_spec name: (identifier) @constant) @@ -38,6 +37,7 @@ (type_spec name: (type_identifier) @constructor) (field_identifier) @variable.other.member +(keyed_element (literal_element (identifier) @variable.other.member)) (identifier) @variable (package_identifier) @namespace |