diff options
-rw-r--r-- | .config/nvim/after/ftplugin/rust.vim | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
1 | let b:ale_fixers = ['rustfmt'] | 1 | let b:ale_fixers = ['rustfmt'] |
2 | let b:ale_linters = ['rls'] | 2 | let b:ale_linters = ['rls'] |
3 | |||
4 | setlocal tags=./rusty-tags.vi;/ | ||
5 | |||
6 | autocmd BufWritePost *.rs :silent! exec "!rusty-tags vi --quiet --start-dir=" . expand('%:p:h') . "&" | redraw! | ||