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,55 @@
; highlights.scm
[
"*"
"/"
"%"
"+"
"-"
">"
">="
"<"
"<="
"="
"=~"
"!="
"!~"
] @operator
[
"{"
"}"
"["
"]"
"("
")"
] @punctuation.bracket
(float_literal) @number.float
(string_literal) @string
(metric_name) @type
(range_selection) @type
(subquery_range_selection) @type
(label_name) @variable.member
((label_name)
[
"=~"
"!~"
]
(label_value) @string.regexp)
((label_name)
[
"="
"!="
]
(label_value) @string)
(function_name) @function.call
(comment) @comment @spell

View file

@ -0,0 +1,11 @@
((comment) @injection.content
(#set! injection.language "comment"))
((label_name)
[
"=~"
"!~"
]
(label_value) @injection.content
(#set! injection.language "regex")
(#offset! @injection.content 0 1 0 -1))