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 /hgs-cache
/smex-items /smex-items
/var/ /var/
/anaconda-mode/
# All hail use-package! # All hail use-package!
/elpa/ /elpa/

View File

@ -30,6 +30,7 @@
achievements achievements
ag ag
alert alert
anaconda-mode
anzu anzu
auto-highlight-symbol auto-highlight-symbol
auto-package-update auto-package-update
@ -41,6 +42,7 @@
coffee-mode coffee-mode
command-log-mode command-log-mode
company company
company-anaconda
company-c-headers company-c-headers
company-emoji company-emoji
company-restclient company-restclient

13
init.el
View File

@ -904,6 +904,19 @@
(:map ctl-x-map (:map ctl-x-map
("*" . er/expand-region))) ("*" . 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 my own functions
(load "gnu-c-header.el") (load "gnu-c-header.el")
(load "round-number-to-decimals.el") (load "round-number-to-decimals.el")