   (add-hook 'restclient-mode-hook
             (lambda ()
               (use-package company-restclient
-                :after company
+                :after (company)
                 :config
                 (setq-local company-backends `(company-restclient))))))
 

  :hook (company-mode . company-box-mode))

(use-package company-lsp
  :after company lsp-mode
  :config
  (add-hook 'lsp-after-open-hook
            (lambda ()

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