mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Add script boilerplate for ruby
This commit is contained in:
committed by
Andy K. Massimino
parent
70b6bec0b5
commit
58cd300d98
@@ -1,3 +1,9 @@
|
||||
if !exists('b:did_ftplugin')
|
||||
finish
|
||||
endif
|
||||
|
||||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
call matchup#util#patch_match_words('retry', 'retry\|return')
|
||||
|
||||
@@ -5,4 +11,7 @@ let b:match_midmap = [
|
||||
\ ['rubyRepeat', 'next'],
|
||||
\ ['rubyDefine', 'return'],
|
||||
\]
|
||||
let b:undo_ftplugin .= '| unlet! b:match_midmap'
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user