1
Files
flake-nixinator/config/neovim/store/nvim-treesitter/queries/turtle/highlights.scm

63 lines
592 B
Scheme

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