Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Vim freezes sometimes when using :FlowJumpToDef #58

Open
k opened this issue Jul 2, 2017 · 4 comments
Open

Vim freezes sometimes when using :FlowJumpToDef #58

k opened this issue Jul 2, 2017 · 4 comments

Comments

@k
Copy link

k commented Jul 2, 2017

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>

@sliminality
Copy link

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
Copy link
Author

k commented Jul 21, 2017

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?

@sliminality
Copy link

@k Neovim!

@k
Copy link
Author

k commented Jul 26, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants