add strace highlighting (#7928)

* feat: add strace tree sitter

* f
This commit is contained in:
sigmaSd 2023-08-15 08:38:57 +01:00 committed by GitHub
parent 090a225f28
commit cbfe8eef89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 0 deletions

View file

@ -145,6 +145,7 @@
| sql | ✓ | | | |
| sshclientconfig | ✓ | | | |
| starlark | ✓ | ✓ | | |
| strace | ✓ | | | |
| svelte | ✓ | | ✓ | `svelteserver` |
| sway | ✓ | ✓ | ✓ | `forc` |
| swift | ✓ | | | `sourcekit-lsp` |

View file

@ -2783,3 +2783,13 @@ auto-format = true
[[grammar]]
name = "todotxt"
source = { git = "https://github.com/arnarg/tree-sitter-todotxt", rev = "0207f6a4ab6aeafc4b091914d31d8235049a2578" }
[[language]]
name = "strace"
scope = "source.strace"
file-types = ["strace"]
roots = []
[[grammar]]
name = "strace"
source = { git = "https://github.com/sigmaSd/tree-sitter-strace", rev = "a0f6c50ae4087a9299f055d0f30fe94fd98189a4" }

View file

@ -0,0 +1,8 @@
(syscall) @function
(integer) @constant.numeric
(pointer) @constant.numeric
(value) @label
(string) @string
(comment) @comment
(errorName) @error
(errorDescription) @error