diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-02-12 03:53:53 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2024-02-12 03:53:53 -0500 |
commit | ebbf79f6088d8f091a61346ae5dec6f1762b4adb (patch) | |
tree | bc1ba72f3451658ba11c34fbf7a9f0933e278ed2 /vim/.vim/ftplugin/rust.vim | |
parent | 8bf3ce3b6c3f850817190f5ef8936440b5409cd6 (diff) | |
download | conf-ebbf79f6088d8f091a61346ae5dec6f1762b4adb.tar.gz conf-ebbf79f6088d8f091a61346ae5dec6f1762b4adb.zip |
remove vim config
Diffstat (limited to 'vim/.vim/ftplugin/rust.vim')
-rw-r--r-- | vim/.vim/ftplugin/rust.vim | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/vim/.vim/ftplugin/rust.vim b/vim/.vim/ftplugin/rust.vim deleted file mode 100644 index 2b9606e..0000000 --- a/vim/.vim/ftplugin/rust.vim +++ /dev/null @@ -1,18 +0,0 @@ -let b:ale_linters = { 'rust': ['analyzer'] } -let b:ale_rust_analyzer_config = { - \'checkOnSave': { 'command': 'clippy' }, - \'cargo': { 'allFeatures': v:true }, - \'diagnostics': { 'disabled': ['inactive-code'] }, -\} -let b:ale_fixers = { 'rust': ['rustfmt'] } -let b:ale_fix_on_save = 1 -let b:ale_rust_rustfmt_options = "--edition 2018" - -map <buffer> <CR> :ALEGoToDefinition<CR> - -if filereadable("Cargo.toml") - compiler cargo - setlocal makeprg=cargo\ build -else - setlocal makeprg=rustc\ % -endif |