aboutsummaryrefslogtreecommitdiffstats
path: root/queries/gosum
diff options
context:
space:
mode:
authorAmaan Qureshi <amaanq12@gmail.com>2023-02-18 04:36:15 -0500
committerStephan Seitz <stephan.seitz@fau.de>2023-02-18 02:07:28 -0800
commit17d7cf6f4b4057a949e86df6fbc2e271ba788823 (patch)
tree2f39956371f22666e542b5e8d47d75e9a564be5a /queries/gosum
parentUpdate parsers: fortran, git_rebase, sql (diff)
downloadnvim-treesitter-17d7cf6f4b4057a949e86df6fbc2e271ba788823.tar
nvim-treesitter-17d7cf6f4b4057a949e86df6fbc2e271ba788823.tar.gz
nvim-treesitter-17d7cf6f4b4057a949e86df6fbc2e271ba788823.tar.bz2
nvim-treesitter-17d7cf6f4b4057a949e86df6fbc2e271ba788823.tar.lz
nvim-treesitter-17d7cf6f4b4057a949e86df6fbc2e271ba788823.tar.xz
nvim-treesitter-17d7cf6f4b4057a949e86df6fbc2e271ba788823.tar.zst
nvim-treesitter-17d7cf6f4b4057a949e86df6fbc2e271ba788823.zip
feat: add @text.uri where applicable to thrift and gosum
Diffstat (limited to 'queries/gosum')
-rw-r--r--queries/gosum/highlights.scm10
1 files changed, 4 insertions, 6 deletions
diff --git a/queries/gosum/highlights.scm b/queries/gosum/highlights.scm
index d19dde45a..bb65bd71f 100644
--- a/queries/gosum/highlights.scm
+++ b/queries/gosum/highlights.scm
@@ -7,14 +7,12 @@
"+incompatible"
] @keyword
-[
- (module_path)
- (hash)
-] @string
-(base_version) @string.special
+(module_path) @string @text.uri
+(module_version) @string.special
-(hash_version) @symbol
+(hash_version) @attribute
+(hash) @symbol
[
(number)