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/javascript-jasmine-arrow.json | 68 ++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 luasnip_snippets/javascript-jasmine-arrow.json (limited to 'luasnip_snippets/javascript-jasmine-arrow.json') diff --git a/luasnip_snippets/javascript-jasmine-arrow.json b/luasnip_snippets/javascript-jasmine-arrow.json new file mode 100644 index 0000000..63b5142 --- /dev/null +++ b/luasnip_snippets/javascript-jasmine-arrow.json @@ -0,0 +1,68 @@ +{ + "des": { + "prefix": "des", + "description": "Describe (js)", + "body": [ + "describe('${1:description}', () => {", + "\t$0", + "\\});" + ], + "luasnip": { + "priority": -50 + } + }, + "it": { + "prefix": "it", + "description": "it (js)", + "body": [ + "it('${1:description}', () => {", + "\t$0", + "\\});" + ] + }, + "bef": { + "prefix": "bef", + "description": "before each (js)", + "body": [ + "beforeEach(() => {", + "\t$0", + "\\});" + ] + }, + "aft": { + "prefix": "aft", + "description": "after each (js)", + "body": [ + "afterEach(() => {", + "\t$0", + "\\});" + ] + }, + "befa": { + "prefix": "befa", + "description": "before all (js)", + "body": [ + "beforeAll(() => {", + "\t$0", + "\\});" + ] + }, + "afta": { + "prefix": "afta", + "description": "after all (js)", + "body": [ + "afterAll(() => {", + "\t$0", + "\\});" + ] + }, + "ru": { + "prefix": "ru", + "description": "runs (js)", + "body": [ + "runs(() => {", + "\t$0", + "\\});" + ] + } +} -- cgit v1.2.3