diff options
author | Brian Picciano <me@mediocregopher.com> | 2024-01-10 10:27:19 +0100 |
---|---|---|
committer | Brian Picciano <me@mediocregopher.com> | 2024-01-10 10:27:19 +0100 |
commit | 8580776d03448c96729d3638e95c75fda410e2b9 (patch) | |
tree | 38f9ef45e1da80d24681667531885277e1c53a2a /nvim | |
parent | c65c2069e05e11cd5458b8f98c400e6bb5c3fd1e (diff) |
Have neomake always run clippy in rust projects
Diffstat (limited to 'nvim')
-rw-r--r-- | nvim/init.vim | 3 |
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 |