diff options
Diffstat (limited to 'runtime/queries/strace')
| -rw-r--r-- | runtime/queries/strace/highlights.scm | 56 | ||||
| -rw-r--r-- | runtime/queries/strace/injections.scm | 2 |
2 files changed, 58 insertions, 0 deletions
diff --git a/runtime/queries/strace/highlights.scm b/runtime/queries/strace/highlights.scm new file mode 100644 index 000000000..70a14fd2d --- /dev/null +++ b/runtime/queries/strace/highlights.scm @@ -0,0 +1,56 @@ +[ + "killed" + "by" + "exited" + "with" + "<unfinished ...>" + "<..." + "resumed>" +] @keyword + +[ + (errorName) + (errorDescription) +] @keyword.exception + +(syscall) @function.builtin + +; Literals +[ + (integer) + (pointer) +] @number + +(value) @label + +(string) @string + +[ + "=" + "|" + "*" + "&&" + "==" +] @operator + +; Punctuation +[ + "+++" + "---" + "..." + "~" +] @punctuation.special + +[ + "(" + ")" + "[" + "]" +] @punctuation.bracket + +[ + "," + "=>" +] @punctuation.delimiter + +(comment) @comment @spell diff --git a/runtime/queries/strace/injections.scm b/runtime/queries/strace/injections.scm new file mode 100644 index 000000000..2f0e58eb6 --- /dev/null +++ b/runtime/queries/strace/injections.scm @@ -0,0 +1,2 @@ +((comment) @injection.content + (#set! injection.language "comment")) |
