Skip to content

Commit be5d8d0

Browse files
committed
Restore 'cpo' at the end of the file.
See: http://thread.gmane.org/gmane.editors.vim.devel/32151
1 parent 4b7e82f commit be5d8d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ftplugin/ruby.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,6 @@ if !exists("g:no_plugin_maps") && !exists("g:no_ruby_maps")
173173
endif
174174
endif
175175

176-
let &cpo = s:cpo_save
177-
unlet s:cpo_save
178-
179176
if exists("g:did_ruby_ftplugin_functions")
180177
finish
181178
endif
@@ -319,6 +316,9 @@ function! s:gf(count,map,edit) abort
319316
endif
320317
endfunction
321318

319+
let &cpo = s:cpo_save
320+
unlet s:cpo_save
321+
322322
"
323323
" Instructions for enabling "matchit" support:
324324
"

0 commit comments

Comments
 (0)