commit | 3ca577ebaf999a24b24a9853a5f27a32f76dd2db | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Sun Oct 30 23:25:51 2022 +0000 |
committer | Skyler Grey <skyler3665@gmail.com> | Sun Oct 30 23:25:51 2022 +0000 |
tree | 6ab20f321a2019315cb09dd918dfc37d57b8d5f6 | |
parent | 64007fdc96b90e1939640e429edc0c8dee5a1c44 [diff] [blame] |
Add some useful snippets
diff --git a/modules/neovim/coc/snippets/rust.snippets b/modules/neovim/coc/snippets/rust.snippets new file mode 100644 index 0000000..faf683b --- /dev/null +++ b/modules/neovim/coc/snippets/rust.snippets
@@ -0,0 +1,6 @@ +snippet testasync "An async test using tokio" +#[tokio::test] +async fn ${1:function_name}_test() { + ${0} +} +endsnippet