Install anaconda-mode and company-anaconda packages

This commit is contained in:
Gergely Polonkai 2016-11-17 23:30:47 +01:00
parent 6829120d10
commit 5a8be149cb
3 changed files with 16 additions and 0 deletions

1
.gitignore vendored
View File

@ -16,6 +16,7 @@
/hgs-cache
/smex-items
/var/
/anaconda-mode/
# All hail use-package!
/elpa/

View File

@ -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

13
init.el
View File

@ -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")