 ;; REST API
 (use-package restclient
   :commands restclient-mode
-  :mode (("\\ . http\\'" . restclient-mode)
-         ("\\ . rest\\'" . restclient-mode))
+  :mode (("\\.http\\'" . restclient-mode)
+         ("\\.rest\\'" . restclient-mode))
   :config
   (add-hook 'restclient-mode-hook
             (lambda ()


(use-package rjsx-mode
  :quelpa (rjsx-mode :fetcher github :repo "wyuenho/rjsx-mode" :branch "indent-after-jsx-expr")
  :mode ("\\.jsx?\\'" "\\ . mjs\\'"))

;; TypeScript
(use-package typescript-mode
  :mode ("\\ . ts\\'" "\\.mts\\'"))

(use-package ts-comint
  :after typescript-mode


;; YAML
(use-package yaml-mode
  :mode "\\.ya?ml\\'")

(use-package flycheck-yamllint
  :after yaml-mode
