run DelimitMateDo() when loading plugin.

Current setting would make this plugin's mapping added last, and cause conflict with https://github.com/tpope/vim-endwise. See https://github.com/tpope/vim-endwise/pull/13.
This commit is contained in:
peter50216
2014-01-07 12:00:54 +08:00
parent 07d9fa9ddc
commit 82160a5de6

View File

@@ -342,6 +342,8 @@ endfunction "}}}
" Commands: {{{
call s:DelimitMateDo()
" Let me refresh without re-loading the buffer:
command! -bar DelimitMateReload call s:DelimitMateDo(1)
@@ -366,7 +368,6 @@ augroup delimitMate
\ call <SID>DelimitMateDo() |
\ let b:delimitMate_was_here = 1 |
\ endif
autocmd VimEnter * call <SID>DelimitMateDo()
augroup END
"}}}