feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent c13e28f894
commit 2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions

View file

@ -0,0 +1,4 @@
[
(statement)
(blank_node_property_list)
] @fold

View 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)

View file

@ -0,0 +1,10 @@
[
(statement)
(blank_node_property_list)
(collection)
] @indent.begin
[
"]"
")"
] @indent.branch

View file

@ -0,0 +1,2 @@
((comment) @injection.content
(#set! injection.language "comment"))

View file

@ -0,0 +1,12 @@
(turtle_doc) @scope
(subject
[
(prefixed_name)
(iri_reference)
] @definition.var)
[
(prefixed_name)
(iri_reference)
] @reference