feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent 310f0925ec
commit 692b051b09
1247 changed files with 6096 additions and 9074 deletions

View file

@ -0,0 +1,5 @@
[
(directive)
(triple)
(blank_node_property_list)
] @fold

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

View file

@ -0,0 +1,11 @@
[
(directive)
(triple)
(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 @@
(document) @local.scope
(subject
[
(prefixed_name)
(iri_reference)
] @local.definition.var)
[
(prefixed_name)
(iri_reference)
] @local.reference