Closed EdmundsEcho closed 4 years ago
I ran PlugUpdate
again this morning (inspired by drafting this issue); coc.nvim
had an update with multiple changes... The information from HIE is now making it's way to Neovim. Problem solved... however,
The signature in the list of active processes is really clear: hie-version
and hie-wrapper
.
So between running hie-wrapper
within the project folder manually in the terminal to confirm the parsing of the application code, tracking the dynamics from CocInfo
, AND watching the process come and go by starting and quitting nvim
, I suspect I would have identified there is a problem with coc
.
coc
's capacity to determine the version of hie
and the starting and stopping of the `hie-related processesNote: I'm not commenting on the design, but just taking inventory.
CocDisable
nor CocRebuild
initializes the hie
- related processes
CocRestart
does quit and restart the hie
-related processes
The version of hie
fired-up by coc
depends on the location of the active buffer when first initialized (e.g., CocRestart
with the CocConfig
buffer open, will active your default, global version of hie
)
This means you can change what version of
hie
is running by callingCocRestart
in a different buffer
... on a related note, I routinely have to restart coc
following an edit to get HIE
to generate the feed. I have not isolated the types of updates that somehow jam hie
or coc
's capacity to server.
- E
First and foremost
I love, absolutely love what you all have accomplished with HIE. I have been using Haskell for ~5 years with Neovim. As much as I appreciated the prior efforts and plugins, using HIE has been a game changer. I use
<shift> K
all the time to get my nicely documented types and function definitions. Great stuff. Thank you!! (It has also been great to have neovim with the "pop-up" window and the language server capacity to display the defs; so kudos all-round).Issue
And, yesterday the functionality through using
Coc
stopped working. At one pointCoc
reported not having a "definition provider".CocRestart
(something I had to do regularly with some code updates)hie-wrapper
manually and it seemed to generate the expected output (it found the files, most OK)..stack-work
directoryPlugUpdate
(a weekly routine, but also done to troubleshoot)checkhealth
and restarted my instances of neovim (checkhealth
reports all ok)CocInfo
. The following is likely indicative of how the problem is presenting... no input from the language server:vim version: NVIM v0.4.3 node version: v13.2.0 coc.nvim version: 0.0.78-fd9e7d3972 term: iTerm.app platform: darwin
Output channel: prettier
My
hie.yaml
entry