aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/hcl/indents.toml
diff options
context:
space:
mode:
authorMichael Daffin2022-02-25 08:48:20 +0000
committerGitHub2022-02-25 08:48:20 +0000
commit93ec42d06e6c7b8c157fd17a1ed40dda3ee91bf3 (patch)
tree4d1cfb264f16887f99842b7829fb0d7ddfd73ec7 /runtime/queries/hcl/indents.toml
parenta494f47a5df543a3ab8d6530a5acbc2a5bd04d44 (diff)
Add support for HCL language (#1705)
Queries based on the neovims ones: https://github.com/nvim-treesitter/nvim-treesitter/tree/master/queries/hcl and modified for helix support.
Diffstat (limited to 'runtime/queries/hcl/indents.toml')
-rw-r--r--runtime/queries/hcl/indents.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/queries/hcl/indents.toml b/runtime/queries/hcl/indents.toml
new file mode 100644
index 00000000..b0d4a3f0
--- /dev/null
+++ b/runtime/queries/hcl/indents.toml
@@ -0,0 +1,13 @@
+indent = [
+ "object",
+ "block",
+ "tuple",
+ "for_tuple_expr",
+ "for_object_expr"
+]
+
+outdent = [
+ "object_end",
+ "block_end",
+ "tuple_end"
+]