-
-
Notifications
You must be signed in to change notification settings - Fork 391
How to use Eval Plugin with vim + coc + haskell language server? #435
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
Comments
It's a "code lens" that you are supposed to trigger in some way. In I'm assuming in |
I have enabled it in CocConfig but still nothing happens :( I can't seem to find any good documentation on how to set it up |
doesn't work for me either |
What do you mean by enabled?
If both of those are true, then you should enable
|
in CocConfig I have:
and in vimrc:
when I try to execute codelens-action it says After enabling debugging and logging, the log file is empty |
sorry, I was running the logging with the wrong parameter, here's the full log
|
I think this is some coc issue/question - here's a gist that shows how the log looks when I open a file and execute the eval action successfully (there's the module Main where
-- >>> 3 + 5 |
@googleson78 would you mind sharing the relevant parts of your |
This is my config. |
thanks! It works with |
@tek the config shared by @googleson78 works for you? |
only if you want to investigate the issue with |
can be closed from my end! |
I‘d like to report, that I can run the eval code lens in coc-nvim. So it is at least not completely broken. |
* Add a .editorconfig * Move to https
If you encounter a bug or you have a support question, please try to fill out some of the information below.
However, if you think your issue does not need any of it, you may omit it.
Generally speaking, the information below is meant for helping debugging issues
but they are no prerequisite for opening issues.
Subject of the issue
There are no instructions on how to use Eval Plugin with vim + coc.
Your environment
haskell-language-server version: 0.4.0.0 (GHC: 8.8.4)
(GIT hash: 0a18edd)
Tool versions found on the $PATH
cabal: 2.2.0.0
stack: 2.3.1
ghc: Not found
Which lsp-client do you use
Steps to reproduce
Including
-- >>> print "Hello"
in any source code doesn't activate Eval PluginExpected behaviour
In VSCode it shows up a button to Eval, I would expect at least a command to eval this line
Actual behaviour
Nothing.
The text was updated successfully, but these errors were encountered: