wehgashasg;hasgr]
This commit is contained in:
parent
0181011b5b
commit
3964f717d0
|
@ -196,6 +196,7 @@
|
|||
elisp
|
||||
go
|
||||
go-mod
|
||||
haskell
|
||||
java
|
||||
js
|
||||
json
|
||||
|
@ -235,6 +236,14 @@
|
|||
|
||||
#+begin_src emacs-lisp
|
||||
(add-hook 'prog-mode-hook 'eglot-ensure)
|
||||
(use-package haskell-mode :ensure t
|
||||
:hook (haskell-mode . eglot-ensure))
|
||||
|
||||
(setq-default eglot-workspace-configuration
|
||||
'((haskell
|
||||
(plugin
|
||||
(stan
|
||||
(globalOn . :json-false)))))) ;; disable stan
|
||||
|
||||
(defun my/eglot-format-buffer-on-save ()
|
||||
"Format the current buffer if Eglot is active."
|
||||
|
|
Loading…
Reference in a new issue