flow/vim-flow

Vim freezes sometimes when using `:FlowJumpToDef`

k opened this issue · 4 comments

k commented

If I try using :FlowJumpToDef on an name that is eventually not found, it sometimes takes on the order of 2 min or more to fail. This is confusing because I thought there was a timeout. Anyone else experience this issue?

I am using Neovim 0.1.7
Relavant .vimrc

"" Vim-flow
    let g:flow#enable = 0
    if len(exepath(s:flow_path)) > 0
        let g:flow#flowpath = s:flow_path
    endif
    nmap <localleader>] :FlowJumpToDef<CR>

I experienced a similar issue. In my case, the problem was the plugin using the global flow-bin, which started a new server every time I called :FlowJumpToDef. #24 fixed the problem for me.

k commented

Hm interesting I have it set up to use local flow also but I still experience the issue. But I have seen that behavior before as well when using a global flow installation. Thanks.

@sarahlim Are you using Neovim or Vim?

@k Neovim!

k commented

hm okay I'm not sure what's wrong then. I ended up switching up to vscode since the flow integration is quite good