blob: c454b448532d4e3e3c8032f1dc301650d67c962d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
(use-package eglot)
(use-package rustic
:after eglot
:config
(setq
;; eglot seems to be the best option right now.
rustic-lsp-client 'eglot
rustic-format-on-save nil
;; Prevent automatic syntax checking, which was causing lags and stutters.
;; eglot-send-changes-idle-time (* 60 60)
)
;; Disable the annoying doc popups in the minibuffer.
;; (add-hook 'eglot-managed-mode-hook (lambda () (eldoc-mode -1)))
)
(use-package markdown-mode
:ensure t
:mode ("README\\.md\\'" . gfm-mode)
:init (setq markdown-command "multimarkdown"))
(use-package nix-mode
:mode "\\.nix\\'")
|