From 70ae947739d174a2aad2e8fd0dbb670e8149ef1e Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Thu, 27 Aug 2020 11:14:38 +0200 Subject: [PATCH] Improve Tag support for ruby in vim --- vim/ftplugin/ruby.vim | 3 +++ 1 file changed, 3 insertions(+) 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