aboutsummaryrefslogtreecommitdiffstats
path: root/queries/idl
diff options
context:
space:
mode:
authorDragonBillow <DragonBillow@outlook.com>2024-07-01 18:11:47 +0800
committerChristian Clason <c.clason@uni-graz.at>2024-07-01 16:25:07 +0200
commitffd7725102f47e7391d7a5e7621d178689602a52 (patch)
tree64336dfacd498c85b56c64a3d1582a3dc6b63ad1 /queries/idl
parentfeat(bp): update parser and queries (#6843) (diff)
downloadnvim-treesitter-ffd7725102f47e7391d7a5e7621d178689602a52.tar
nvim-treesitter-ffd7725102f47e7391d7a5e7621d178689602a52.tar.gz
nvim-treesitter-ffd7725102f47e7391d7a5e7621d178689602a52.tar.bz2
nvim-treesitter-ffd7725102f47e7391d7a5e7621d178689602a52.tar.lz
nvim-treesitter-ffd7725102f47e7391d7a5e7621d178689602a52.tar.xz
nvim-treesitter-ffd7725102f47e7391d7a5e7621d178689602a52.tar.zst
nvim-treesitter-ffd7725102f47e7391d7a5e7621d178689602a52.zip
feat(idl): add indents
Signed-off-by: DragonBillow <DragonBillow@outlook.com>
Diffstat (limited to 'queries/idl')
-rw-r--r--queries/idl/indents.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/queries/idl/indents.scm b/queries/idl/indents.scm
new file mode 100644
index 000000000..5c75c52b5
--- /dev/null
+++ b/queries/idl/indents.scm
@@ -0,0 +1,7 @@
+";" @indent.end
+
+"}" @indent.branch
+
+(definition) @indent.begin
+
+(predefine) @indent.ignore