mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 14:30:05 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
58
runtime/queries/turtle/highlights.scm
Normal file
58
runtime/queries/turtle/highlights.scm
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
(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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue