diff --git a/autoload/coc/util.vim b/autoload/coc/util.vim index 0c2a336a9dd..0ebeeaa5f39 100644 --- a/autoload/coc/util.vim +++ b/autoload/coc/util.vim @@ -172,11 +172,7 @@ function! coc#util#jump(cmd, filepath, ...) abort elseif a:cmd ==# 'edit' && bufloaded(file) exe 'b '.bufnr(file) else - if s:is_vim - call timer_start(10, { -> s:safer_open(a:cmd, file)}) - else - call s:safer_open(a:cmd, file) - endif + call s:safer_open(a:cmd, file) endif if !empty(get(a:, 1, [])) let line = getline(a:1[0] + 1)