                 :after company tern
                 :config
                 (setq-local company-backends
-                            '(company-tern company-yasnippet company-files))
+                            '(company-tern company-files))
 
                 (advice-add 'company-tern :before
                             (lambda (&rest _)

            (use-package company-tern
              :after company tern
              :config
              (add-to-list 'company-backends 'company-tern))

            (use-package js-doc
              :after yasnippet

  :config
  (company-tng-configure-default)
  :bind (:map company-mode-map
              ("M-/" . company-complete)))

(use-package company-flx
  :hook (company-mode . company-flx-mode))
