aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJirgn <jirgn76@googlemail.com>2021-12-27 23:40:37 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-01-04 00:59:33 +0100
commita64f509beb02f3dce691daed44ca32b430fa10c5 (patch)
treeada648613a4fe2dcddde5c5be8763f4a6a4ec825
parentfix: add afx_text to highlights (text) (diff)
downloadnvim-treesitter-a64f509beb02f3dce691daed44ca32b430fa10c5.tar
nvim-treesitter-a64f509beb02f3dce691daed44ca32b430fa10c5.tar.gz
nvim-treesitter-a64f509beb02f3dce691daed44ca32b430fa10c5.tar.bz2
nvim-treesitter-a64f509beb02f3dce691daed44ca32b430fa10c5.tar.lz
nvim-treesitter-a64f509beb02f3dce691daed44ca32b430fa10c5.tar.xz
nvim-treesitter-a64f509beb02f3dce691daed44ca32b430fa10c5.tar.zst
nvim-treesitter-a64f509beb02f3dce691daed44ca32b430fa10c5.zip
feat: add indent for fusion and afx
-rw-r--r--queries/fusion/indents.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/queries/fusion/indents.scm b/queries/fusion/indents.scm
new file mode 100644
index 000000000..e0db44f97
--- /dev/null
+++ b/queries/fusion/indents.scm
@@ -0,0 +1,15 @@
+[
+ (block)
+ (value_dsl)
+ (afx_element)
+ (afx_element_self_closing)
+] @indent
+
+
+(block end: _ @branch)
+(value_dsl end: _ @branch)
+[
+ (afx_closing_element)
+] @branch
+
+(comment) @ignore