diff options
author | Yigit Sever | 2021-08-24 12:46:15 +0300 |
---|---|---|
committer | Yigit Sever | 2021-08-24 12:46:15 +0300 |
commit | ffce99db1892e489b1f651abad88f4c3b718c6fd (patch) | |
tree | 254ff1ab4df9b3ae725bdeccd79c654f63cb2ed3 /.config/nvim/after/ftplugin/rust.vim | |
parent | a05037b7c85b47bd8c60e937123a47f2d620e5c8 (diff) | |
download | dotfiles-ffce99db1892e489b1f651abad88f4c3b718c6fd.tar.gz dotfiles-ffce99db1892e489b1f651abad88f4c3b718c6fd.tar.bz2 dotfiles-ffce99db1892e489b1f651abad88f4c3b718c6fd.zip |
ftplugin: use rusty tags for rust
Diffstat (limited to '.config/nvim/after/ftplugin/rust.vim')
-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! | ||