mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 15:30:01 -04:00
feat: add gosum
This commit is contained in:
parent
588cdb6c06
commit
98a52ce300
4 changed files with 46 additions and 0 deletions
33
queries/gosum/highlights.scm
Normal file
33
queries/gosum/highlights.scm
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
[
|
||||
"alpha"
|
||||
"beta"
|
||||
"dev"
|
||||
"pre"
|
||||
"rc"
|
||||
"+incompatible"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
(module_path)
|
||||
(hash)
|
||||
] @string
|
||||
|
||||
(base_version) @string.special
|
||||
|
||||
(hash_version) @symbol
|
||||
|
||||
[
|
||||
(number)
|
||||
(number_with_decimal)
|
||||
(hex_number)
|
||||
] @number
|
||||
|
||||
(checksum
|
||||
"go.mod" @string)
|
||||
|
||||
[
|
||||
":"
|
||||
"."
|
||||
"-"
|
||||
"/"
|
||||
] @punctuation.delimiter
|
||||
Loading…
Add table
Add a link
Reference in a new issue