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