aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/llvm/indents.toml
diff options
context:
space:
mode:
authorSebastian Neubauer2021-12-29 09:30:44 +0000
committerGitHub2021-12-29 09:30:44 +0000
commit8c29b76bccc51c19c90f7c9ee156fe2cb6f52e2c (patch)
tree66a5e67fb34c18dadc5405241e450603b44c3fb2 /runtime/queries/llvm/indents.toml
parentf1ed042c84fedebc1eff91d00c9c58477e912edc (diff)
Improve llvm highlighting and queries (#1388)
* Improve llvm highlighting and queries The llvm tree-sitter parser was updated to support scopes and more accurate highlighting. * Group highlight expressions better
Diffstat (limited to 'runtime/queries/llvm/indents.toml')
-rw-r--r--runtime/queries/llvm/indents.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/queries/llvm/indents.toml b/runtime/queries/llvm/indents.toml
new file mode 100644
index 00000000..8cd603c8
--- /dev/null
+++ b/runtime/queries/llvm/indents.toml
@@ -0,0 +1,8 @@
+indent = [
+ "function_body",
+ "instruction",
+]
+
+outdent = [
+ "}",
+]