summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/ftplugin/rust.vim
blob: 40d254963d058db98215ffe346489236a932a4ac (plain)
1
2
3
4
5
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!