From 7496e93fbd92a94b179254691bbf59395da56226 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 14 May 2020 19:29:11 +0300 Subject: use cargo run for dispatch --- .config/nvim/init.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 36e62c0..a9bdcc0 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -119,6 +119,8 @@ autocmd VimResized * :wincmd = " Set spell for prose autocmd FileType markdown,tex setlocal spell + +autocmd FileType rust let b:dispatch = 'cargo run' "}}} " Functions {{{ -- cgit v1.2.3-70-g09d2