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,42 @@
; highlights.scm
[
"*"
"/"
"%"
"+"
"-"
">"
">="
"<"
"<="
"="
"=~"
"!="
"!~"
] @operator
[
"{"
"}"
"["
"]"
"("
")"
] @punctuation.bracket
(float_literal) @float
(string_literal) @string
(metric_name) @type
(range_selection) @text.strong @type
(subquery_range_selection) @text.strong @type
(label_name) @field
(label_value) @text.underline @string.regex
(function_name) @function.call
(comment) @comment @spell
(ERROR) @error

View file

@ -0,0 +1,3 @@
((label_value) @injection.content
(#set! injection.language "regex")
(#offset! @injection.content 0 1 0 -1))