summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/init.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 0ac7f84..3adf4c8 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -54,6 +54,9 @@ autocmd! BufWritePost * Neomake
"let g:neomake_verbose=3
"let g:neomake_logfile='/tmp/neomake.log'
+" Always run clippy on rust projects
+autocmd! BufWritePost *.rs Neomake! clippy
+
" the sidebar sign placement wasn't playing nice with gitgutter, so use the
" location list instead. But location list is kinda dumb cause it pops open
" multiple times and at weird times, sooo.... fuck it