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/rust.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 luasnip_snippets/rust.json (limited to 'luasnip_snippets/rust.json') diff --git a/luasnip_snippets/rust.json b/luasnip_snippets/rust.json new file mode 100644 index 0000000..dc2d111 --- /dev/null +++ b/luasnip_snippets/rust.json @@ -0,0 +1,16 @@ +{ + ".it": { + "prefix": ".it", + "description": ".iter()", + "body": ".iter()$0" + }, + "impl": { + "prefix": "impl", + "description": "Struct/Trait implementation", + "body": [ + "impl$4 ${1:Type/Trait}${2: for ${3:Type}}${4:<${5:T}>} {", + "\t$0", + "\\}" + ] + } +} -- cgit v1.2.3