-
Notifications
You must be signed in to change notification settings - Fork 52
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
Template creation via <LocalLeader>d not adding patterns for parameters #10
Comments
Still occurs in 7a0f64d idris-0.9.15 when did this break, has someone bisected yet? |
What are the steps to reproduce this? Does it happen every time? Have you tried, for example, deleting all .ibcs and checking that there's no other idris running? I know there are some issues with interactive editing, but I can't reproduce this one as it is, so I think there must be something different in your environment, and if we can work out what it is then we might be able to fix this. In any case, it is likely an Idris issue rather than a vim mode issue. |
This could be related to another plugin interfering with idris-vim. I had a similar issue with syntastic, I fixed it by adding |
Hopefully fixed in vim-syntastic/syntastic#1215 |
OK, after some research this seems to be related to calling idris --check while another idris instance is running. Essentially it looks like non-atomic updates to IBC files from idris --check and idris --client racing one another. Unfortunately I was quickly lost while trying to trace back the function calls in Idris. :/ Hope this is helpful |
Test case:
Apply \d on append.
Expected something like:
Got that instead:
Version info:
idris 0.9.12 (cabal)
idris-vim 2586645 (current HEAD)
The text was updated successfully, but these errors were encountered: