 (use-package anaconda-mode
   :delight
   :after company
-  :hook (python-mode   . anaconda-mode)
-  :config
-  (anaconda-eldoc-mode t)
-  (add-to-list 'company-backends '(company-anaconda :with company-capf))
+  :hook (python-mode . anaconda-mode)
+  :config
+  (add-hook 'python-mode-hook
+            (lambda ()
+              (anaconda-eldoc-mode t)
+              (setq-local company-backends
+                          (add-to-list 'company-backends '(company-anaconda :with company-capf)))))
   :bind (:map anaconda-mode-map
               ("M-r"   . nil)
               ("M-\""  . anaconda-mode-find-assignments)

                :after company
                :config
                (setq-local company-backends
                            '(company-web-html company-tern company-yasnippet company-files)))

              (use-package tide
                :if (string-equal "tsx" (file-name-extension buffer-file-name))

              (use-package company-go
                :after company
                :config
                (setq-local company-backends
                            (add-to-list 'company-backends 'company-go))))))

(use-package go-eldoc
  :after go-mode
