 (use-package web-mode
   :mode
   ("\\.html?\\'" . web-mode)
-  ("\\.js[x]?\\'" . web-mode)
-  ("\\.ts[x]?\\'" . web-mode)
-  ("\\.json?\\'" . web-mode)
   :config
   (add-to-list 'web-mode-indentation-params '("lineup-calls" . nil))
   (add-to-list 'web-mode-indentation-params '("lineup-concats" . nil))

  (setq web-mode-enable-auto-quoting nil)
  (setq web-mode-content-types-alist
    '(("jsx" . "/\\(rn\\|component\\)[s]?/.*\\.js[x]?\\'"))))

;; Markdown
(use-package markdown-mode

;; LSP and friends
(use-package lsp-mode
  :commands lsp
  :hook ((python-mode rust-mode dart-mode typescript-mode) . lsp)
  :init
  (setq read-process-output-max (* 1024 1024)
        lsp-headerline-breadcrumb-icons-enable nil
