-
Notifications
You must be signed in to change notification settings - Fork 340
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-indentation-mode layout tops braces #712
Comments
Hmm, github version seems to be working. Likewise melpa version should also work. I haven't checked melpa-stable. |
Hmm, this is weird, I get this with master. |
I have emacs 24.5, it happens with .emacs.d/init.el containing only ;; enable haskell-mode
(defconst haskell-mode-directory "~/.emacs.d/haskell-mode/")
(add-to-list 'load-path haskell-mode-directory)
(require 'haskell-mode-autoloads)
(add-to-list 'Info-default-directory-list haskell-mode-directory)
(add-hook 'haskell-mode-hook 'haskell-indentation-mode) and .emacs.d/haskell-mode having haskell-mode from master. |
How about |
This is with clean, just cloned and compiled repository :( |
Added tests do not replicate the issue I posted. Here's the patch to correctly reflect it:
and it indeed fails with "Illegal token: layout-item". |
Confirmed. Braces and commas should take priority over |
Consider the following code:
After you go to the line with "baz = 0" and press Enter, Emacs displays "Illegal token: layout-item" in statusbar and indentation no longer works after this point.
The text was updated successfully, but these errors were encountered: