From c3469cf0fd1f7b8cb202329c9cfaacf02a9cd76c Mon Sep 17 00:00:00 2001 From: "jiangfriend@gmail.com" Date: Fri, 10 Jun 2011 02:26:22 +0800 Subject: [PATCH] Change function name AutoPairsExtend to AutoPairsFastWrap --- plugin/auto-pairs.vim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugin/auto-pairs.vim b/plugin/auto-pairs.vim index 34c7148..77d96b3 100644 --- a/plugin/auto-pairs.vim +++ b/plugin/auto-pairs.vim @@ -109,8 +109,7 @@ function! AutoPairsJump() endfunction " Fast wrap the word in brackets -" Haven't finished yet -function! AutoPairsExtend() +function! AutoPairsFastWrap() let line = getline('.') let current_char = line[col('.')-1] let next_char = line[col('.')] @@ -185,7 +184,7 @@ function! AutoPairsInit() execute 'inoremap :call AutoPairsJump()a' execute 'inoremap ' execute 'inoremap ' - execute 'inoremap =AutoPairsExtend()' + execute 'inoremap =AutoPairsFastWrap()' end endfunction