-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Haskell SPC m h
bindings not working
#3173
Comments
SPC m h T is similar It looks like those key bindings aren't operating on the code that's in the buffer, but rather the code that's in the repl running in the background, e.g. previously sent with SPC m s b or something. I must be misunderstanding ghc-mod and/or how the packages are interacting; I have |
ghc-mod can get type / info without having to manually push the code to REPL first. syl20bnr#3173
There's another PR #3199 to bind the ghc-mod functions to even shorter prefix. |
When you enable |
With haskell layer (and shm mode) enabled open a
test.hs
file with following contents:Move the cursor to the latter
when
Press SPC m h t or SPC m h i
Expected result: identifier/type information as documented
Actual result: Error:
<interactive>:1:1-4: Not in scope: ‘when’
(This is after executing
haskell-session-change
as suggested in the first error when trying these keybindings.)The text was updated successfully, but these errors were encountered: