(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\\'") (use-package ledger-mode)