summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/after/ftplugin')
-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!