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

vim-flow auto-closes the path window on save #69

Open
JofArnold opened this issue Nov 18, 2017 · 2 comments
Open

vim-flow auto-closes the path window on save #69

JofArnold opened this issue Nov 18, 2017 · 2 comments

Comments

@JofArnold
Copy link

The issue: vim-flow auto-closes the path window (I think that's the correct name for it?) on save

To repeat:

  • Ag something to bring up the list of results
  • jump to a result
  • edit that file
  • save

Result: the search results window closes.

Expected behaviour: the search results window does not change

What I've tried: various permutations of g:flow#autoclose and g:flow#showquickfix

@JofArnold
Copy link
Author

Seems to be due to botright copen line: https://github.com/flowtype/vim-flow/blob/master/plugin/flow.vim#L97

Issue is occurring in a non-flow JS file on mvim Vim8.0.

current vimrc: https://github.com/JofArnold/dotfiles/blob/2d352c6522f3938dd7a92574185950789b3b5739/vimrc

@JofArnold
Copy link
Author

Actually, sorry. My binary search was out. It's repeatably on lines 88 and 90

https://github.com/flowtype/vim-flow/blob/089de6b787ddd2b9f33677b02ac492ad47f4e8cc/plugin/flow.vim#L88-L90

Commenting them out fixes the issue.

There is nothing mentioned in :messages, unfortunately.

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

1 participant