Skip to content

Commit

Permalink
update go highlight queries (helix-editor#8399)
Browse files Browse the repository at this point in the history
bhainesva authored and Schuyler Mortimer committed Jul 10, 2024
1 parent 50949b6 commit 3fc2d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/queries/go/highlights.scm
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3fc2d39

Please sign in to comment.