Compare commits

...

3 Commits

3 changed files with 8 additions and 2 deletions

View File

@ -96,7 +96,7 @@
:general
("C-c o" #'olivetti-mode)
:custom
(olivetti-body-width 0.5))
(olivetti-body-width 120))
;; Multiple cursors
(use-package evil-multiedit

View File

@ -46,6 +46,11 @@
(use-package eglot
:commands (eglot)
:config
(defun my-eglot-managed-hook ()
(if (eglot-managed-p)
(setq-local corfu-preview-current nil)
(kill-local-variable 'corfu-preview-current)))
(add-hook 'eglot-managed-mode-hook #'my-eglot-managed-hook)
(add-to-list 'eglot-server-programs
'(js-web-mode . ("typescript-language-server" "--stdio")))
(add-to-list 'eglot-server-programs

View File

@ -3,6 +3,7 @@
:mode (("\\.uml\\'" . plantuml-mode)
("\\.plantuml\\'" . plantuml-mode))
:custom
(plantuml-default-exec-mode 'executable))
(plantuml-default-exec-mode 'executable)
(plantuml-executable-path (executable-find "plantuml")))
(provide 'init-plantuml)