mirror of
https://github.com/Raimondi/delimitMate.git
synced 2025-12-06 04:34:29 +08:00
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:
@@ -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
|
||||
|
||||
"}}}
|
||||
|
||||
Reference in New Issue
Block a user