wehgashasg;hasgr]

This commit is contained in:
Mars 2024-09-29 14:55:10 -04:00
parent 0181011b5b
commit 3964f717d0
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895

View file

@ -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)