Oops...Remove cmdline.set_suffix()

This commit is contained in:
haya14busa 2014-03-21 16:54:42 +09:00
parent 5302eecff5
commit c91a012505

View File

@ -2,7 +2,7 @@
" FILE: autoload/EasyMotion/command_line.vim " FILE: autoload/EasyMotion/command_line.vim
" AUTHOR: haya14busa " AUTHOR: haya14busa
" Reference: https://github.com/osyo-manga/vim-over " Reference: https://github.com/osyo-manga/vim-over
" Last Change: 15 Mar 2014. " Last Change: 21 Mar 2014.
" License: MIT license {{{ " License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining " Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the " a copy of this software and associated documentation files (the
@ -144,8 +144,6 @@ function! s:search.on_enter(cmdline) "{{{
endif endif
call EasyMotion#highlight#add_highlight('\%#', call EasyMotion#highlight#add_highlight('\%#',
\ g:EasyMotion_hl_inc_cursor) \ g:EasyMotion_hl_inc_cursor)
call a:cmdline.set_suffix(printf("col:%d", a:cmdline.getpos()))
" redraw
endif endif
endfunction "}}} endfunction "}}}
function! s:search.on_leave(cmdline) "{{{ function! s:search.on_leave(cmdline) "{{{
@ -168,9 +166,6 @@ function! s:search.on_char(cmdline) "{{{
if g:EasyMotion_off_screen_search if g:EasyMotion_off_screen_search
call s:off_screen_search(re) call s:off_screen_search(re)
endif endif
call a:cmdline.set_suffix(printf("col:%d", a:cmdline.getpos()))
"redraw
" throw 'vital-over excetion'
elseif s:search.line.length() >= s:num_strokes elseif s:search.line.length() >= s:num_strokes
call s:search.exit() call s:search.exit()
endif endif