diff --git a/vim/ftplugin/ruby.vim b/vim/ftplugin/ruby.vim index 8933182..9c49f84 100644 --- a/vim/ftplugin/ruby.vim +++ b/vim/ftplugin/ruby.vim @@ -14,6 +14,9 @@ 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:undo_ftplugin .= " | unlet b:linter" + set complete=] + aut BufWritePost Defer timeout 5 ripper-tags -R + " au InsertLeave AsyncLint " au BufWritePre Lint augroup END