Explorar el Código

Re-add ale fixer and linter delay

Andrew Swistak hace 6 años
padre
commit
5a2f56d3ed
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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