Parcourir la source

Re-add ale fixer and linter delay

Andrew Swistak il y a 6 ans
Parent
commit
5a2f56d3ed
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      vimrc

+ 3 - 0
vimrc

@@ -540,6 +540,9 @@ let g:ale_fixers = {
       \    'ruby': ['rubocop'],
       \}
 
+let g:ale_fix_on_save = 1
+let g:ale_lint_delay = 1000
+
 " ts/tsx highlighting sucks a lot and I'm not inclined to fix it right now.
 " Should be able to get by with using javascript{,.jsx} highlighting for now
 au BufRead,BufNewFile *.ts set filetype=javascript