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

Enter, Backspace broken with structured haskell mode #2211

Closed
ajnsit opened this issue Jul 4, 2015 · 1 comment
Closed

Enter, Backspace broken with structured haskell mode #2211

ajnsit opened this issue Jul 4, 2015 · 1 comment

Comments

@ajnsit
Copy link
Contributor

ajnsit commented Jul 4, 2015

I enabled structured haskell mode to try it out and see some strange issues -

  1. Backspace would only delete variables, not keywords or operators!
  2. Enter key introduces newlines even in normal mode, just like it would in insert mode

I enabled structured haskell mode by adding the following to my configuration layers -

(haskell :variables
         haskell-enable-hindent-style "johan-tibell"
         haskell-ghci-ng-support t
         haskell-enable-shm-support t
         )

These may be errors in structured-haskell-mode itself (I'm not sure yet). However I believe we should atleast mention it in the documentation for haskell layer that SHM may cause this behaviour.

@d12frosted
Copy link
Collaborator

It's structured-haskell-feature 😄 It always was so - but it's not even documented in structured-haskell-mode documentation. In any case, I don't really think that Haskell layer's README file is a good place for this.

About the enter key - structured-haskell-mode doesn't play well with evil - see #1048.

@TheBB I think it should be closed.

P. S. it's not Helm, but Haskell :-p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants