                 (unbind-key "C-c C-r" tern-mode-keymap))
 
               (use-package company-tern
-                :after company tern
+                :after (company tern)
                 :config
                 (setq-local company-backends
                             '(company-tern company-files))

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

                        dired-mode-map))))

(use-package all-the-icons-dired
  :after (all-the-icons)
  :if (display-graphic-p)
  :hook (dired-mode . all-the-icons-dired-mode))

