From f8d261cd20c4f74c89ab103ed42b01f029be1fec Mon Sep 17 00:00:00 2001 From: Tudyx Date: Wed, 29 Nov 2023 02:42:59 +0100 Subject: add log tree-sitter (#8916) * add log tree-sitter * better highlight queries--- runtime/queries/log/highlights.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 runtime/queries/log/highlights.scm (limited to 'runtime') 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 -- cgit v1.2.3-70-g09d2