From 5a8be149cb5b9d1694bfc27ce01470b32b6bedaf Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Thu, 17 Nov 2016 23:30:47 +0100 Subject: [PATCH] Install anaconda-mode and company-anaconda packages --- .gitignore | 1 + customizations.el | 2 ++ init.el | 13 +++++++++++++ 3 files changed, 16 insertions(+) diff --git a/.gitignore b/.gitignore index 6946dc9..0629273 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ /hgs-cache /smex-items /var/ +/anaconda-mode/ # All hail use-package! /elpa/ diff --git a/customizations.el b/customizations.el index e857aeb..8d929f9 100644 --- a/customizations.el +++ b/customizations.el @@ -30,6 +30,7 @@ achievements ag alert + anaconda-mode anzu auto-highlight-symbol auto-package-update @@ -41,6 +42,7 @@ coffee-mode command-log-mode company + company-anaconda company-c-headers company-emoji company-restclient diff --git a/init.el b/init.el index c985767..aada85e 100644 --- a/init.el +++ b/init.el @@ -904,6 +904,19 @@ (:map ctl-x-map ("*" . er/expand-region))) +(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 + :after + company + :config + (add-to-list 'company-backends 'company-anaconda)) + ;; Load my own functions (load "gnu-c-header.el") (load "round-number-to-decimals.el")