From 19380e20e969ce318cd24dfafb61aa77403a758e Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sun, 11 Apr 2021 19:10:12 +0200 Subject: [PATCH] Add 'svelte' snippets --- .vim/snips/svelte.snippets | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .vim/snips/svelte.snippets diff --git a/.vim/snips/svelte.snippets b/.vim/snips/svelte.snippets new file mode 100644 index 0000000..0f3d46b --- /dev/null +++ b/.vim/snips/svelte.snippets @@ -0,0 +1,9 @@ +extends html, javascript, css + +snippet oM +onMount(() => $0) +endsnippet + +snippet oD +onDestroy(() => $0) +endsnippet