Make ruby linting less aggressive
This commit is contained in:
parent
e809c1534c
commit
fbd9a06bdd
1 changed files with 2 additions and 2 deletions
|
@ -14,6 +14,6 @@ augroup RUBY
|
||||||
let b:linter = "sh -c \"rubocop --auto-correct -o /dev/null --stdin % 2>/dev/null | awk 'BEGIN { header=0 } // && header==1 { print $0 } /^====================$/ { header=1 }'\""
|
let b:linter = "sh -c \"rubocop --auto-correct -o /dev/null --stdin % 2>/dev/null | awk 'BEGIN { header=0 } // && header==1 { print $0 } /^====================$/ { header=1 }'\""
|
||||||
let b:undo_ftplugin .= " | unlet b:linter"
|
let b:undo_ftplugin .= " | unlet b:linter"
|
||||||
|
|
||||||
au InsertLeave <buffer> AsyncLint
|
" au InsertLeave <buffer> AsyncLint
|
||||||
" au CursorHoldI <buffer> AsyncLint
|
" au BufWritePre <buffer> Lint
|
||||||
augroup END
|
augroup END
|
||||||
|
|
Loading…
Reference in a new issue