From ffce99db1892e489b1f651abad88f4c3b718c6fd Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 24 Aug 2021 12:46:15 +0300 Subject: ftplugin: use rusty tags for rust --- .config/nvim/after/ftplugin/rust.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config/nvim/after/ftplugin') diff --git a/.config/nvim/after/ftplugin/rust.vim b/.config/nvim/after/ftplugin/rust.vim index 542d070..40d2549 100644 --- a/.config/nvim/after/ftplugin/rust.vim +++ b/.config/nvim/after/ftplugin/rust.vim @@ -1,2 +1,6 @@ let b:ale_fixers = ['rustfmt'] let b:ale_linters = ['rls'] + +setlocal tags=./rusty-tags.vi;/ + +autocmd BufWritePost *.rs :silent! exec "!rusty-tags vi --quiet --start-dir=" . expand('%:p:h') . "&" | redraw! -- cgit v1.2.3-70-g09d2