               ("C-c M-:" . switch-to-ts)))
 
 (use-package tide
+  :delight tide-mode
   :after (typescript-mode company flycheck)
   :hook ((typescript-mode     . tide-setup)
          (typescript-tsx-mode . tide-setup))

;; Turn off useless mode lighters
(use-package delight
  :config
  (delight '((tide-mode                     nil tide)
             (cargo-minor-mode              nil cargo)
             (whitespace-cleanup-mode)
             (aggressive-indent-mode        nil aggressive-indent)
             (auto-fill-function            nil t)
             (isearch-mode                  nil isearch)


;; Rust
(use-package rust-mode
  :mode "\\.rs\\'")

(use-package cargo
  :delight cargo-minor-mode
  :config
  (cargo-minor-mode))

(use-package ron-mode
  :mode "\\.ron'")
