diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-10-24 02:40:06 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-10-24 03:31:57 -0400 |
commit | ba2de93f8527cd65a27bd1846c938c671eddf228 (patch) | |
tree | 607c45ed10a81eece299c16f89a07d0ea1b3eadb /vim/ftplugin/rust.vim | |
parent | 2cdd9d6858367976bfccc78a40ef2efdd82b8139 (diff) | |
download | conf-ba2de93f8527cd65a27bd1846c938c671eddf228.tar.gz conf-ba2de93f8527cd65a27bd1846c938c671eddf228.zip |
clean up some ftplugins
Diffstat (limited to 'vim/ftplugin/rust.vim')
-rw-r--r-- | vim/ftplugin/rust.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/ftplugin/rust.vim b/vim/ftplugin/rust.vim index b899d50..d090a5c 100644 --- a/vim/ftplugin/rust.vim +++ b/vim/ftplugin/rust.vim @@ -1,8 +1,8 @@ +let b:ale_rust_cargo_use_check = 1 + if filereadable("Cargo.toml") - compiler cargo + compiler cargo setlocal makeprg=cargo\ build else setlocal makeprg=rustc\ % endif - -let b:ale_rust_cargo_use_check = 1 |