 (use-package rtf-mode :mode "\\.rtf$")
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; rust-mode ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-(use-package rust-mode :mode "\\.rs$")
+(use-package rust-mode :mode "\\.rs$"
+  :init
+  (add-hook 'rust-mode-hook 'eglot-ensure)
+  )
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; qt-pro-mode ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (use-package qt-pro-mode :mode ("\\.pr[oi]$"))

;; Copyright (C) 2015-2022  Dan Harms (dharms)
;; Author: Dan Harms <danielrharms@gmail.com>
;; Created: Friday, February 27, 2015
;; Modified Time-stamp: <2022-10-28 17:35:32 dharms>
;; Modified by: Dan Harms
;; Keywords:


(use-package quick-peek)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; flymake ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(define-prefix-command 'harmsway-flymake-keymap)
(global-set-key "\C-c!" 'harmsway-flymake-keymap)
(use-package flymake
  :demand t
  :bind (:map harmsway-flymake-keymap
              ("l" . flymake-show-buffer-diagnostics)
              ("d" . eldoc-doc-buffer)
         :map flymake-mode-map
              ("M-p" . flymake-goto-prev-error)
              ("M-n" . flymake-goto-next-error)
              )
  :init
  (setq flymake-wrap-around t)
 )

(use-package flymake-collection
