aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/strace/highlights.scm
diff options
context:
space:
mode:
authorsigmaSd2023-08-15 07:38:57 +0000
committerGitHub2023-08-15 07:38:57 +0000
commitcbfe8eef894e8784a9e10127cd1c800ca9b7f532 (patch)
tree47d305cc066782c0ae4a53fbcc866a8c6971f521 /runtime/queries/strace/highlights.scm
parent090a225f28fb0547e572d1d99153cf84c48e855a (diff)
add strace highlighting (#7928)
* feat: add strace tree sitter * f
Diffstat (limited to 'runtime/queries/strace/highlights.scm')
-rw-r--r--runtime/queries/strace/highlights.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/queries/strace/highlights.scm b/runtime/queries/strace/highlights.scm
new file mode 100644
index 00000000..4f54cb3e
--- /dev/null
+++ b/runtime/queries/strace/highlights.scm
@@ -0,0 +1,8 @@
+(syscall) @function
+(integer) @constant.numeric
+(pointer) @constant.numeric
+(value) @label
+(string) @string
+(comment) @comment
+(errorName) @error
+(errorDescription) @error