mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat: add @text.uri where applicable to thrift and gosum
This commit is contained in:
parent
79ceb393d6
commit
17d7cf6f4b
3 changed files with 9 additions and 12 deletions
|
|
@ -159,7 +159,7 @@
|
|||
"revision": "4a65743dbc2bb3094114dd2b43da03c820aa5234"
|
||||
},
|
||||
"gosum": {
|
||||
"revision": "68974b63c19dc6e27214a5c76b6e26c0c40fe5b7"
|
||||
"revision": "bd0ec1fe9d68a5d4713d907417a43d489fa1b62a"
|
||||
},
|
||||
"gowork": {
|
||||
"revision": "949a8a470559543857a62102c84700d291fc984c"
|
||||
|
|
@ -417,7 +417,7 @@
|
|||
"revision": "0ff887f2a60a147452d52db060de6b42f42f1441"
|
||||
},
|
||||
"thrift": {
|
||||
"revision": "d1f350b19dd70ccdbd6d565dbea4879e4cef03da"
|
||||
"revision": "c5a94547f01eb51b26446f9b94ee8644fa791223"
|
||||
},
|
||||
"tiger": {
|
||||
"revision": "a233ebe360a73a92c50978e5c4e9e471bc59ff42"
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue