   :mode ("\\.ts\\'" "\\.mts\\'"))
 
 (use-package ts-comint
-  :after typescript-mode
+  :after (typescript-mode)
   :bind (:map typescript-mode-map
               ("C-x C-e" . ts-send-last-sexp)
               ("C-c e e" . ts-send-last-sexp-and-go)

(add-hook 'sh-mode-hook
          (lambda ()
            (use-package company-shell
              :after company
              :config
              (setq-local company-backends
                          '(company-shell company-shell-env company-files company-capf)))))

(use-package multi-term
  :after projectile
  :bind (("M-T" . multi-term)
         :map projectile-command-map
         ("x T" . multi-term)))

    (bind-key "C-k" 'sp-kill-whole-line js2-mode-map)))

(use-package js2-refactor
  :after (js2-mode)
  :delight
  :hook (js2-mode . js2-refactor-mode)
  :config (js2r-add-keybindings-with-prefix "C-c r"))
