summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/ftplugin/rust.vim
diff options
context:
space:
mode:
authorYigit Sever2021-08-24 12:46:15 +0300
committerYigit Sever2021-08-24 12:46:15 +0300
commitffce99db1892e489b1f651abad88f4c3b718c6fd (patch)
tree254ff1ab4df9b3ae725bdeccd79c654f63cb2ed3 /.config/nvim/after/ftplugin/rust.vim
parenta05037b7c85b47bd8c60e937123a47f2d620e5c8 (diff)
downloaddotfiles-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.vim4
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 @@
1let b:ale_fixers = ['rustfmt'] 1let b:ale_fixers = ['rustfmt']
2let b:ale_linters = ['rls'] 2let b:ale_linters = ['rls']
3
4setlocal tags=./rusty-tags.vi;/
5
6autocmd BufWritePost *.rs :silent! exec "!rusty-tags vi --quiet --start-dir=" . expand('%:p:h') . "&" | redraw!