diff options
author | Sebastian Neubauer | 2022-01-03 01:57:55 +0000 |
---|---|---|
committer | GitHub | 2022-01-03 01:57:55 +0000 |
commit | 8f2af713408b8b40cf71873bbc0ddc009a7b3da5 (patch) | |
tree | 68a0add35a49f2dd341f245a1ad06cbb06c29ec5 /runtime/queries/tablegen/textobjects.scm | |
parent | 93a948d889f3d8fba97a37f163d080f9908dbaa3 (diff) |
Add LLVM TableGen highlighting (#1409)
Add a tree-sitter grammar and highlights for TableGen files.
TableGen and its grammar are described here:
https://llvm.org/docs/TableGen/index.html
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Diffstat (limited to 'runtime/queries/tablegen/textobjects.scm')
-rw-r--r-- | runtime/queries/tablegen/textobjects.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/queries/tablegen/textobjects.scm b/runtime/queries/tablegen/textobjects.scm new file mode 100644 index 00000000..2cb80268 --- /dev/null +++ b/runtime/queries/tablegen/textobjects.scm @@ -0,0 +1,7 @@ +(class + body: (_) @class.inside) @class.around + +(multiclass + body: (_) @class.inside) @class.around + +(_ argument: _ @parameter.inside) |