Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (use-package company
- :ensure t
- :config
- (setq company-idle-delay 0
- company-minimum-prefix-length 2
- company-show-numbers t
- company-tooltip-limit 10
- company-tooltip-align-annotations t
- ;; invert the navigation direction if the the completion popup-isearch-match
- ;; is displayed on top (happens near the bottom of windows)
- company-tooltip-flip-when-above t)
- (global-company-mode t)
- )
- (use-package anaconda-mode
- :ensure t
- :config
- (add-hook 'python-mode-hook 'anaconda-mode)
- (add-hook 'python-mode-hook 'anaconda-eldoc-mode)
- )
- (use-package company-anaconda
- :ensure t
- :init (require 'rx)
- :after (company)
- :config
- (add-to-list 'company-backends 'company-anaconda)
- )
- (use-package conda
- :ensure t
- :config
- (conda-env-initialize-interactive-shells)
- (conda-env-autoactivate-mode t)
- :custom
- (conda-anaconda-home "~/anaconda3/"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement