Add haskell
This commit is contained in:
parent
dceb1f6243
commit
71985c76ad
12
init.el
12
init.el
|
@ -359,6 +359,7 @@
|
||||||
(c++-ts-mode . eglot-ensure)
|
(c++-ts-mode . eglot-ensure)
|
||||||
(java-mode . eglot-ensure)
|
(java-mode . eglot-ensure)
|
||||||
(java-ts-mode . eglot-ensure)
|
(java-ts-mode . eglot-ensure)
|
||||||
|
(haskell-mode . eglot-ensure)
|
||||||
(lua-mode . eglot-ensure)
|
(lua-mode . eglot-ensure)
|
||||||
(nix-mode . eglot-ensure)
|
(nix-mode . eglot-ensure)
|
||||||
(js-mode . eglot-ensure)
|
(js-mode . eglot-ensure)
|
||||||
|
@ -367,7 +368,12 @@
|
||||||
(tsx-ts-mode . eglot-ensure)
|
(tsx-ts-mode . eglot-ensure)
|
||||||
:custom
|
:custom
|
||||||
(eglot-events-buffer-size 0)
|
(eglot-events-buffer-size 0)
|
||||||
(eglot-autoshutdown t))
|
(eglot-autoshutdown t)
|
||||||
|
(eglot-confirm-server-initiated-edits nil)
|
||||||
|
:config
|
||||||
|
(setq-default eglot-workspace-configuration
|
||||||
|
'((haskell
|
||||||
|
(formattingProvider . "floskell")))))
|
||||||
|
|
||||||
(use-package eglot-java
|
(use-package eglot-java
|
||||||
:hook java-mode java-ts-mode)
|
:hook java-mode java-ts-mode)
|
||||||
|
@ -621,6 +627,10 @@
|
||||||
(use-package racket-mode
|
(use-package racket-mode
|
||||||
:hook (racket-mode . racket-xp-mode))
|
:hook (racket-mode . racket-xp-mode))
|
||||||
|
|
||||||
|
(use-package haskell-mode
|
||||||
|
:custom
|
||||||
|
(haskell-process-show-debug-tips nil))
|
||||||
|
|
||||||
;; (use-package web-mode
|
;; (use-package web-mode
|
||||||
;; :mode ("\\.\\([jt]sx?\\|css\\)\\'" . web-mode)
|
;; :mode ("\\.\\([jt]sx?\\|css\\)\\'" . web-mode)
|
||||||
;; :custom
|
;; :custom
|
||||||
|
|
Loading…
Reference in a new issue