Compare commits

..

3 Commits

3 changed files with 8 additions and 2 deletions

View File

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

View File

@ -46,6 +46,11 @@
(use-package eglot (use-package eglot
:commands (eglot) :commands (eglot)
:config :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 (add-to-list 'eglot-server-programs
'(js-web-mode . ("typescript-language-server" "--stdio"))) '(js-web-mode . ("typescript-language-server" "--stdio")))
(add-to-list 'eglot-server-programs (add-to-list 'eglot-server-programs

View File

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