diff --git a/vim/plugin/ciswitch.vim b/vim/plugin/ciswitch.vim new file mode 100644 index 0000000..1c0d083 --- /dev/null +++ b/vim/plugin/ciswitch.vim @@ -0,0 +1,28 @@ +if !has('ruby') + echo "Error: Required vim compiled with +ruby" + finish +endif + +if exists('g:loaded_ruby_fix_plugin') + finish +endif +let g:loaded_ruby_fix_plugin = 1 + +command! -nargs=0 L call Switch() + +function! Switch() +ruby<