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/erlang.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 luasnip_snippets/erlang.json (limited to 'luasnip_snippets/erlang.json') diff --git a/luasnip_snippets/erlang.json b/luasnip_snippets/erlang.json new file mode 100644 index 0000000..e7e336c --- /dev/null +++ b/luasnip_snippets/erlang.json @@ -0,0 +1,23 @@ +{ + "pat": { + "prefix": "pat", + "description": "Case:Receive:Try Clause", + "body": [ + "${1:pattern}${2: when ${3:guard}} ->", + "\t${4:body}" + ], + "luasnip": { + "priority": -50 + } + }, + "||": { + "prefix": "||", + "description": "List Comprehension", + "body": "[${1:X} || ${2:X} <- ${3:List}${4:, gen}]" + }, + "gen": { + "prefix": "gen", + "description": "Generator Expression", + "body": "${1:X} <- ${2:List}${3:, gen}" + } +} -- cgit v1.2.3