summaryrefslogtreecommitdiff
path: root/emacs/.config/emacs-kj/development.el
blob: 81a94c9c7ae20dcbb412c5c035ecc44eae78e9cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
(use-package eglot)

(use-package rustic
  :after eglot
  :bind (("C-c C-r C-s" . rustic-popup))
  :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\\'")

(use-package ledger-mode)
(use-package unobtrusive-magit-theme)

(use-package editorconfig
  :ensure t
  :config
  (editorconfig-mode 1))