From f1eabbaa1b4ff1836d0ee8335b31d009203f3775 Mon Sep 17 00:00:00 2001 From: "Vito G. Graffagnino" Date: Tue, 30 Aug 2022 16:06:22 +0100 Subject: fixed zathura integration with texlab using nvim-texlabconfig --- luasnip_snippets/ejs.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 luasnip_snippets/ejs.json (limited to 'luasnip_snippets/ejs.json') diff --git a/luasnip_snippets/ejs.json b/luasnip_snippets/ejs.json new file mode 100644 index 0000000..166f8a1 --- /dev/null +++ b/luasnip_snippets/ejs.json @@ -0,0 +1,20 @@ +{ + "for": { + "prefix": "for", + "description": "ejs for loop", + "body": [ + "<% for (let ${1:i = 0}; ${2:i", + "\t${0:body}", + "<% \\} %>" + ] + }, + "forE": { + "prefix": "forE", + "description": "ejs for Each loop", + "body": [ + "<% ${1:array}.forEach((${2:single var}) => { %>", + "\t${0:body}", + "<% \\}) %>" + ] + } +} -- cgit v1.2.3