mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
18 lines
314 B
VimL
18 lines
314 B
VimL
if !exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
|
|
let s:save_cpo = &cpo
|
|
set cpo&vim
|
|
|
|
call matchup#util#patch_match_words('retry', 'retry\|return')
|
|
|
|
let b:match_midmap = [
|
|
\ ['rubyRepeat', 'next'],
|
|
\ ['rubyDefine', 'return'],
|
|
\]
|
|
let b:undo_ftplugin .= '| unlet! b:match_midmap'
|
|
|
|
let &cpo = s:save_cpo
|
|
|