diff options
| author | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-08-30 16:06:22 +0100 |
|---|---|---|
| committer | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-08-30 16:06:22 +0100 |
| commit | f1eabbaa1b4ff1836d0ee8335b31d009203f3775 (patch) | |
| tree | bbe77eacaef8ab8a5999e517c3006973c9e3e44c /luasnip_snippets/rust.json | |
| parent | 823302458ec6c53455a3f34674415c43ce6a3187 (diff) | |
fixed zathura integration with texlab using nvim-texlabconfig
Diffstat (limited to 'luasnip_snippets/rust.json')
| -rw-r--r-- | luasnip_snippets/rust.json | 16 |
1 files changed, 16 insertions, 0 deletions
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", + "\\}" + ] + } +} |
