Skip to content

Commit

Permalink
go: Highlight constant identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnugget committed May 22, 2024
1 parent a33aedf commit d21598e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/languages/src/go/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@
(imaginary_literal)
] @number

(const_spec
name: (identifier) @constant)

[
(true)
(false)
Expand Down

0 comments on commit d21598e

Please sign in to comment.