 ;; Turn off useless mode lighters
 (use-package delight
   :config
-  (delight '((tide-mode                     nil tide)
-             (cargo-minor-mode              nil cargo)
-             (whitespace-cleanup-mode)
+  (delight '((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\\'"
  :config
  (add-hook 'rust-mode-hook
            (lambda ()
              (use-package cargo
                :config (cargo-minor-mode)))))

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

              ("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))
