nvim: after: ftplugin: Drop rust
We dropped neomake long back and this should have been dropped with
467a660409
.
This commit is contained in:
parent
7e575f9ca4
commit
3bc32b2e34
1 changed files with 0 additions and 12 deletions
|
@ -1,12 +0,0 @@
|
||||||
augroup rust_maps
|
|
||||||
au!
|
|
||||||
" Taken from http://seenaburns.com/vim-setup-for-rust/
|
|
||||||
" Neomake
|
|
||||||
" Gross hack to stop Neomake running when exitting because it creates a zombie cargo check process
|
|
||||||
" which holds the lock and never exits. But then, if you only have QuitPre, closing one pane will
|
|
||||||
" disable neomake, so BufEnter reenables when you enter another buffer.
|
|
||||||
let s:quitting = 0
|
|
||||||
au FileType rust au QuitPre let s:quitting = 1
|
|
||||||
au FileType rust au BufEnter let s:quitting = 0
|
|
||||||
au FileType rust au BufWritePost if ! s:quitting | Neomake | else | echom "Neomake disabled" | endif
|
|
||||||
augroup END
|
|
Loading…
Reference in a new issue