feat: add @text.uri where applicable to thrift and gosum

This commit is contained in:
Amaan Qureshi 2023-02-18 04:36:15 -05:00 committed by Stephan Seitz
parent 79ceb393d6
commit 17d7cf6f4b
3 changed files with 9 additions and 12 deletions

View file

@ -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)

View file

@ -4,15 +4,15 @@
; Includes
"include"
[
"include"
"cpp_include"
] @include
(include_path) @string
(package_path) @string
; Types
; Builtins
(primitive) @type.builtin
@ -141,7 +141,7 @@
(escape_sequence) @string.escape
(uri) @string.special
(uri (string_fragment) @text.uri) @string.special
(number) @number
@ -182,7 +182,6 @@
[
";"
","
(list_separator)
] @punctuation.delimiter
; Errors