diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-10-24 02:26:01 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-10-24 03:31:57 -0400 |
commit | 2cdd9d6858367976bfccc78a40ef2efdd82b8139 (patch) | |
tree | 5c4c39dc7dd4e4f2984786a12e9e3a86e72dd730 /vimrc | |
parent | b5be9c8928854d5cd948b13d41285276b5325db0 (diff) | |
download | conf-2cdd9d6858367976bfccc78a40ef2efdd82b8139.tar.gz conf-2cdd9d6858367976bfccc78a40ef2efdd82b8139.zip |
move filetype-specific ale configuration to ftplugins
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -658,30 +658,6 @@ let g:ale_lint_on_text_changed = 'normal' let g:ale_lint_on_insert_leave = 1 let g:ale_history_enabled = 0 let g:ale_history_log_output = 0 - -let g:ale_linters = { -\ 'perl': ['perlcritic'] -\} - -let g:ale_rust_cargo_use_check = 1 - -function! s:rubocop_in_bundler() - let gemfiles = glob("*.gemspec", 1, 1) - if filereadable("Gemfile") - let gemfiles += ["Gemfile"] - endif - for file in gemfiles - for line in readfile(file) - if line =~ 'gem.*rubocop' - return 1 - endif - endfor - endfor - return 0 -endfunction -if s:rubocop_in_bundler() - let g:ale_ruby_rubocop_executable = 'bundle' -endif " }}} " airline " commentary {{{ |