aboutsummaryrefslogtreecommitdiffstats
path: root/queries/graphql
diff options
context:
space:
mode:
authorelianiva <dicha.arkana03@gmail.com>2021-01-05 19:26:08 +0700
committerThomas Vigouroux <tomvig38@gmail.com>2021-01-14 14:43:04 +0100
commit9184cf395372307df5fd4d7b2cc89f6dea698285 (patch)
tree2ca2a5120cac413e04e2a2638a228df0b4649aec /queries/graphql
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-9184cf395372307df5fd4d7b2cc89f6dea698285.tar
nvim-treesitter-9184cf395372307df5fd4d7b2cc89f6dea698285.tar.gz
nvim-treesitter-9184cf395372307df5fd4d7b2cc89f6dea698285.tar.bz2
nvim-treesitter-9184cf395372307df5fd4d7b2cc89f6dea698285.tar.lz
nvim-treesitter-9184cf395372307df5fd4d7b2cc89f6dea698285.tar.xz
nvim-treesitter-9184cf395372307df5fd4d7b2cc89f6dea698285.tar.zst
nvim-treesitter-9184cf395372307df5fd4d7b2cc89f6dea698285.zip
feat: added more indent queries
Diffstat (limited to 'queries/graphql')
-rw-r--r--queries/graphql/indents.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/queries/graphql/indents.scm b/queries/graphql/indents.scm
new file mode 100644
index 000000000..0f222b6d4
--- /dev/null
+++ b/queries/graphql/indents.scm
@@ -0,0 +1,9 @@
+[
+ (definition)
+ (selection)
+] @indent
+
+[
+ "{"
+ "}"
+] @branch