aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Rischmann <vincent@rischmann.fr>2024-07-16 10:19:41 +0200
committerGitHub <noreply@github.com>2024-07-16 10:19:41 +0200
commita8c1f36d2c7246125da565642a4d015732b61458 (patch)
treee3fc1f16b657df91e6501762f712a96210918cc0
parentbot(lockfile): update angular, facility, idl, ocaml, ocaml_interface, templ (diff)
downloadnvim-treesitter-a8c1f36d2c7246125da565642a4d015732b61458.tar
nvim-treesitter-a8c1f36d2c7246125da565642a4d015732b61458.tar.gz
nvim-treesitter-a8c1f36d2c7246125da565642a4d015732b61458.tar.bz2
nvim-treesitter-a8c1f36d2c7246125da565642a4d015732b61458.tar.lz
nvim-treesitter-a8c1f36d2c7246125da565642a4d015732b61458.tar.xz
nvim-treesitter-a8c1f36d2c7246125da565642a4d015732b61458.tar.zst
nvim-treesitter-a8c1f36d2c7246125da565642a4d015732b61458.zip
feat(templ): add folds
-rw-r--r--queries/templ/folds.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/queries/templ/folds.scm b/queries/templ/folds.scm
new file mode 100644
index 000000000..adbbb103f
--- /dev/null
+++ b/queries/templ/folds.scm
@@ -0,0 +1,15 @@
+[
+ (component_block)
+ (css_declaration)
+ (script_declaration)
+ (element)
+ (style_element)
+ (script_element)
+ (component_switch_statement)
+ (field_declaration_list)
+ (block)
+ (interface_type)
+ (comment)
+ (const_declaration)
+ (var_declaration)
+] @fold