Advertisement
Guest User

richardinitel

a guest
Sep 27th, 2021
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.92 KB | None | 0 0
  1. (use-package company
  2.  :ensure t
  3.  :config
  4.  (setq company-idle-delay 0
  5.        company-minimum-prefix-length 2
  6.        company-show-numbers t
  7.        company-tooltip-limit 10
  8.        company-tooltip-align-annotations t
  9.        ;; invert the navigation direction if the the completion popup-isearch-match
  10.        ;; is displayed on top (happens near the bottom of windows)
  11.        company-tooltip-flip-when-above t)
  12.  (global-company-mode t)
  13.  )
  14.  
  15. (use-package anaconda-mode
  16.   :ensure t
  17.   :config
  18.   (add-hook 'python-mode-hook 'anaconda-mode)
  19.   (add-hook 'python-mode-hook 'anaconda-eldoc-mode)
  20.   )
  21. (use-package company-anaconda
  22.   :ensure t
  23.   :init (require 'rx)
  24.   :after (company)
  25.   :config
  26.   (add-to-list 'company-backends 'company-anaconda)
  27.   )
  28.  
  29. (use-package conda
  30.   :ensure t
  31.   :config
  32.   (conda-env-initialize-interactive-shells)
  33.   (conda-env-autoactivate-mode t)
  34.   :custom
  35.   (conda-anaconda-home "~/anaconda3/"))
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement