Have neomake always run clippy in rust projects

This commit is contained in:
Brian Picciano 2024-01-10 10:27:19 +01:00
parent c65c2069e0
commit 8580776d03

View File

@ -54,6 +54,9 @@ autocmd! BufWritePost * Neomake
"let g:neomake_verbose=3 "let g:neomake_verbose=3
"let g:neomake_logfile='/tmp/neomake.log' "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 " 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 " location list instead. But location list is kinda dumb cause it pops open
" multiple times and at weird times, sooo.... fuck it " multiple times and at weird times, sooo.... fuck it