1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-28 00:40:07 +08:00
SpaceVim/bundle/nvim-treesitter/queries/turtle/highlights.scm

59 lines
556 B
Scheme
Raw Normal View History

(string) @string
(lang_tag) @type
[
"_:"
"<"
">"
(namespace)
] @namespace
[
(iri_reference)
(prefixed_name)
] @variable
(blank_node_label) @variable
"a" @variable.builtin
(integer) @number
[
(decimal)
(double)
] @float
(boolean_literal) @boolean
[
"BASE"
"PREFIX"
"@prefix"
"@base"
] @keyword
[
"."
","
";"
] @punctuation.delimiter
[
"("
")"
"["
"]"
(anon)
] @punctuation.bracket
(comment) @comment
(echar) @string.escape
(rdf_literal
"^^" @type
datatype: (_ ["<" ">" (namespace)] @type) @type)