diff --git a/config/init.org b/config/init.org index 0a65d1c..c7fdf08 100644 --- a/config/init.org +++ b/config/init.org @@ -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." @@ -401,10 +410,10 @@ (defvar my/tab-left (powerline-wave-right 'tab-line nil my/tab-height)) (defvar my/tab-right (powerline-wave-left nil 'tab-line my/tab-height)) - (defun my/tab-line-tab-name-buffer (buffer &optional _buffers) - (powerline-render (list my/tab-left - (format "%s" (buffer-name buffer)) - my/tab-right))) + (defun my/tab-line-tab-name-buffer (buffer &optional _buffers) + (powerline-render (list my/tab-left + (format "%s" (buffer-name buffer)) + my/tab-right))) (setq tab-line-tab-name-function #'my/tab-line-tab-name-buffer)