mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 23:40:04 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
5
runtime/queries/turtle/folds.scm
Normal file
5
runtime/queries/turtle/folds.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
(directive)
|
||||
(triple)
|
||||
(blank_node_property_list)
|
||||
] @fold
|
||||
62
runtime/queries/turtle/highlights.scm
Normal file
62
runtime/queries/turtle/highlights.scm
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
(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)
|
||||
11
runtime/queries/turtle/indents.scm
Normal file
11
runtime/queries/turtle/indents.scm
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
(directive)
|
||||
(triple)
|
||||
(blank_node_property_list)
|
||||
(collection)
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"]"
|
||||
")"
|
||||
] @indent.branch
|
||||
2
runtime/queries/turtle/injections.scm
Normal file
2
runtime/queries/turtle/injections.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
12
runtime/queries/turtle/locals.scm
Normal file
12
runtime/queries/turtle/locals.scm
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
(document) @local.scope
|
||||
|
||||
(subject
|
||||
[
|
||||
(prefixed_name)
|
||||
(iri_reference)
|
||||
] @local.definition.var)
|
||||
|
||||
[
|
||||
(prefixed_name)
|
||||
(iri_reference)
|
||||
] @local.reference
|
||||
Loading…
Add table
Add a link
Reference in a new issue