-
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
Error when initializing haskell-mode #1471
Comments
I tried adding
But obviously then there are not snippets. |
Thank you for the report, this is fixed in develop and current release. |
Seems that there is another issue, I'll look into it this evening. |
OK should be good now :-) |
I've found a fix for this: (defun haskell/post-init-yasnippet ()
(spacemacs/add-to-hooks 'spacemacs/load-yasnippet
'(haskell-mode-hook haskell-literate-mode-hook)))
(defun haskell/init-haskell-snippets ()
(use-package haskell-snippets
:defer t
:hook (yas-minor-mode . haskell-snippets-initialize))) The first part actually is optional, but it's conventional to call Then when This will be included in a coming PR. |
After enabling haskell layout in spacemacs, I keep seeing this error when emacs starting
I think this is related to the fact that haskell-yas was removed from haskell-mode (haskell/haskell-mode#618)
The text was updated successfully, but these errors were encountered: