Skip to content

Commit

Permalink
Merge github.com:me-vlad/vim-autoclose
Browse files Browse the repository at this point in the history
Conflicts:
	plugin/AutoClose.vim

This closes PR Townk#58 of the upstream repo.
  • Loading branch information
somini committed Mar 13, 2016
2 parents 5f4fb28 + 73f011c commit bad606c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugin/AutoClose.vim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if !exists("g:debug_AutoClose") && exists("g:loaded_AutoClose")
endif
let g:loaded_AutoClose = 1

let s:global_cpo = &cpo " store compatible-mode in local variable
let s:cpo_save = &cpo " store compatible-mode in local variable
set cpo&vim " go into nocompatible-mode

if !exists('g:AutoClosePreserveDotReg')
Expand Down Expand Up @@ -553,4 +553,8 @@ augroup END
command! AutoCloseOn let b:AutoCloseOn = 1
command! AutoCloseOff let b:AutoCloseOn = 0
command! AutoCloseToggle call s:ToggleAutoClose()

" Restore 'cpoptions'
let &cpo = s:cpo_save
unlet s:cpo_save
" vim:sw=4:sts=4:

0 comments on commit bad606c

Please sign in to comment.