Improve Tag support for ruby in vim
This commit is contained in:
parent
870afafd4f
commit
70ae947739
1 changed files with 3 additions and 0 deletions
|
@ -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 <buffer> Defer timeout 5 ripper-tags -R
|
||||
|
||||
" au InsertLeave <buffer> AsyncLint
|
||||
" au BufWritePre <buffer> Lint
|
||||
augroup END
|
||||
|
|
Loading…
Reference in a new issue