From 82160a5de6d60a40732c9312706f0e03ecec0204 Mon Sep 17 00:00:00 2001 From: peter50216 Date: Tue, 7 Jan 2014 12:00:54 +0800 Subject: [PATCH] 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. --- plugin/delimitMate.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/delimitMate.vim b/plugin/delimitMate.vim index f604b64..427c828 100644 --- a/plugin/delimitMate.vim +++ b/plugin/delimitMate.vim @@ -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 DelimitMateDo() | \ let b:delimitMate_was_here = 1 | \ endif - autocmd VimEnter * call DelimitMateDo() augroup END "}}}