Comments (3)
(req-package lsp-mode
:ensure t
:config
(progn
(setq lsp-document-sync-method 'full) ;; To make sure documents don't get out of sync regarding parse errors.
))
(req-package lsp-haskell
:ensure t
:require lsp haskell-mode
:config
(progn
(add-hook 'haskell-mode-hook #'lsp)
))
(req-package lsp-ui
:ensure t
:require lsp-mode
:config
(progn
(add-hook 'lsp-mode-hook 'lsp-ui-mode)
(add-hook 'haskell-mode-hook 'flycheck-mode)
))
from lsp-haskell.
Not sure if you're seeing this still, but I found I needed to turn off the default checker that flycheck provides for Haskell. Like so (in custom-set-variables
):
'(flycheck-disabled-checkers '(haskell-stack-ghc haskell-ghc))
Does this help you?
from lsp-haskell.
Thanks @michaelpj , yes I am sure that would help! I switched in the meantime from my long-time vanilla emacs to spacemacs so I don't have this problem any more, although I am not using lsp but dante at the moment -> I do plan to try out lsp again when I catch some time, but I believe in spacemacs checkers will already be correctly configured. At the time of creating this issue I didn't know about flycheck checkers mechanism.
Thanks, I am closing the issue!
from lsp-haskell.
Related Issues (20)
- Symbol’s function definition is void: lsp-haskell-completion-in-comments HOT 1
- Installation issue HOT 3
- Document (?) how to change the `eldoc` signature HOT 10
- Headscratching class plugin experience HOT 9
- haskell-language-server-wrapper from emacs behaviors is different from command line HOT 3
- Hlint HOT 3
- (void-variable lsp-haskell-formatting-provider) HOT 2
- lsp haskell incredibly slow on latest emacs git HOT 12
- lsp-server exits with status 'exit' HOT 1
- Error in $.params.processId: parsing Int32 failed, expected Number, but encountered Object HOT 5
- README missing a step? HOT 3
- Symbol’s value as variable is void: haskell-debug-mode-map HOT 6
- Question: how can I get rid of "Processing" message from modeline HOT 3
- Timeout while waiting for response Method: textDocument/codeAction HOT 2
- Activate on haskell-cabal mode also HOT 1
- Try both `haskell-language-server-wrapper` and `haskell-language-server` by default
- Lisp error: (void-variable fourmolu) HOT 10
- [QUESTION] Line breaker after constraints for type lenses HOT 1
- Don't use the debug flag by default. HOT 3
- How to make lsp-haskell more loosely tied to haskell-mode? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsp-haskell.