Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Aug 20, 2014
1 parent 1df96fd commit 69d0f16
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions autoload/after_object.vim
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ let s:cpo_save = &cpo
set cpo&vim

function! s:after(str, cnt, vis, bw)
let pos = getpos('.')
let col = a:vis ? col("'<") : col('.')
let line = getline('.')
let parts = split(line, '\V'.a:str.'\zs', 1)
Expand Down Expand Up @@ -65,7 +64,6 @@ function! s:after(str, cnt, vis, bw)
execute 'normal! '.(col + idx + 1).'|v$h'
endif
catch 'exit'
call setpos('.', pos)
if a:vis
normal! gv
endif
Expand Down

0 comments on commit 69d0f16

Please sign in to comment.