Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MerlinOccurrences errors in vim #513

Closed
copy opened this issue Apr 5, 2016 · 1 comment
Closed

MerlinOccurrences errors in vim #513

copy opened this issue Apr 5, 2016 · 1 comment

Comments

@copy
Copy link
Contributor

copy commented Apr 5, 2016

I'm getting the following error when using :MerlinOccurrences in vim (both in merlin master and the latest version from opam):

Error detected while processing function merlin#Occurrences:
line   12:
E924: Current window was closed

Finding occurrences actually works using <LocalLeader>*, but the list is not shown. The error doesn't appear when I use let g:merlin_display_occurrence_list = 0.

@copy
Copy link
Contributor Author

copy commented Apr 5, 2016

The problem is actually caused by syntastic – as it turns out syntastic was installed system-wide and I forgot to remove it while testing.

It happens due to setting g:syntastic_auto_loc_list to 1, which causes the location list to be closed automatically when there are no errors (which happens too quick, apparently). Fixed by setting it to 3.

@copy copy closed this as completed Apr 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant