Compare commits
3 Commits
8d695f3998
...
f36d7971b6
Author | SHA1 | Date | |
---|---|---|---|
f36d7971b6 | |||
7e0b08ad16 | |||
c716174511 |
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user