summaryrefslogtreecommitdiff
path: root/emacs/.config/emacs-kj/development.el
blob: 258e2990d97b7b2ae1ef87b5749f57db2033329b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(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)))
  )