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/c.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 luasnip_snippets/c.json (limited to 'luasnip_snippets/c.json') diff --git a/luasnip_snippets/c.json b/luasnip_snippets/c.json new file mode 100644 index 0000000..611d918 --- /dev/null +++ b/luasnip_snippets/c.json @@ -0,0 +1,27 @@ +{ + "def": { + "prefix": "def", + "description": "#define ...", + "body": "#define $1", + "luasnip": { + "priority": -50 + } + }, + "mark": { + "prefix": "mark", + "description": "#pragma mark (mark)", + "body": [ + "#if 0", + "${1:#pragma mark -", + "}#pragma mark $2", + "#endif", + "", + "$0" + ] + }, + "fund": { + "prefix": "fund", + "description": "function declaration", + "body": "${1:void} ${2:function_name}($3);" + } +} -- cgit v1.2.3