diff --git a/plugin/exchange.vim b/plugin/exchange.vim index 43bde86..e33c1bc 100644 --- a/plugin/exchange.vim +++ b/plugin/exchange.vim @@ -5,7 +5,7 @@ function! s:exchange_set(type, ...) if !exists('b:exchange_text') if a:0 - call s:store_pos(a:normal, "'<", "'>") + call s:store_pos(a:type, "'<", "'>") silent exe "normal! `<" . a:type . "`>y" elseif a:type == 'line' call s:store_pos('V', "'[", "']")