From 24f751b78c45371c6bdcdc2c4112daef9b19b768 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Thu, 10 Feb 2022 11:15:44 -0300 Subject: [PATCH] Fixed the cursor position in some Rust snippets --- nvim/snippets/rust.snippets | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/nvim/snippets/rust.snippets b/nvim/snippets/rust.snippets index 35644d9..a450815 100644 --- a/nvim/snippets/rust.snippets +++ b/nvim/snippets/rust.snippets @@ -4,13 +4,10 @@ snippet match } snippet envinit - env_logger::init(); - $0 + env_logger::init();$0 snippet VERSION - const VERSION: Option<&'static str> = option_env!("CARGO_PKG_VERSION"); - $0 + const VERSION: Option<&'static str> = option_env!("CARGO_PKG_VERSION");$0 snippet start - log::info!("Starting up ${1:name} v{}...", VERSION.unwrap_or("???"); - $0 + log::info!("Starting up ${1:name} v{}...", VERSION.unwrap_or("???"));$0