瀏覽代碼

Re-add ale fixer and linter delay

Andrew Swistak 6 年之前
父節點
當前提交
5a2f56d3ed
共有 1 個文件被更改,包括 3 次插入0 次删除
  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