aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorTudyx2023-11-29 01:42:59 +0000
committerGitHub2023-11-29 01:42:59 +0000
commitf8d261cd20c4f74c89ab103ed42b01f029be1fec (patch)
treedcf88004c0a025e22339880a83340d15793d6982 /runtime/queries
parent0739d13b038d4fe75604612caf468cc376734d0c (diff)
add log tree-sitter (#8916)
* add log tree-sitter * better highlight queries
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/log/highlights.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/queries/log/highlights.scm b/runtime/queries/log/highlights.scm
new file mode 100644
index 00000000..6820b3fd
--- /dev/null
+++ b/runtime/queries/log/highlights.scm
@@ -0,0 +1,10 @@
+(trace) @comment
+(debug) @hint
+(info) @info
+(warn) @warning
+(error) @error
+(year_month_day) @keyword
+(time) @constant
+(string_literal) @string
+(number) @constant.numeric
+(constant) @constant.builtin