wehgashasg;hasgr]
This commit is contained in:
parent
0181011b5b
commit
3964f717d0
1 changed files with 13 additions and 4 deletions
|
@ -196,6 +196,7 @@
|
||||||
elisp
|
elisp
|
||||||
go
|
go
|
||||||
go-mod
|
go-mod
|
||||||
|
haskell
|
||||||
java
|
java
|
||||||
js
|
js
|
||||||
json
|
json
|
||||||
|
@ -235,6 +236,14 @@
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(add-hook 'prog-mode-hook 'eglot-ensure)
|
(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 ()
|
(defun my/eglot-format-buffer-on-save ()
|
||||||
"Format the current buffer if Eglot is active."
|
"Format the current buffer if Eglot is active."
|
||||||
|
|
Loading…
Add table
Reference in a new issue