From 2cb00bcbc4c82afd6da7f61d85b38830230fc526 Mon Sep 17 00:00:00 2001 From: Erasin Wang Date: Fri, 14 Jul 2023 20:56:28 +0800 Subject: Support inlay-hints for svelteserver. (#7622) --- runtime/queries/svelte/indents.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 runtime/queries/svelte/indents.scm (limited to 'runtime/queries/svelte') diff --git a/runtime/queries/svelte/indents.scm b/runtime/queries/svelte/indents.scm new file mode 100644 index 00000000..d0408d61 --- /dev/null +++ b/runtime/queries/svelte/indents.scm @@ -0,0 +1,18 @@ +[ + (element) + (if_statement) + (each_statement) + (await_statement) + (script_element) + (style_element) +] @indent + +[ + (end_tag) + (else_statement) + (if_end_expr) + (each_end_expr) + (await_end_expr) + ">" + "/>" +] @outdent \ No newline at end of file -- cgit v1.2.3-70-g09d2