Skip to content

Commit

Permalink
update go highlight queries (helix-editor#8399)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhainesva authored and dgkf committed Jan 30, 2024
1 parent 87534d9 commit 16424f7
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
Expand Up @@ -24,7 +24,6 @@

; Identifiers

((identifier) @constant (match? @constant "^[A-Z][A-Z\\d_]+$"))
(const_spec
name: (identifier) @constant)

Expand All @@ -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

Expand Down

0 comments on commit 16424f7

Please sign in to comment.