Move from anaconda to ElPy

This commit is contained in:
Gergely Polonkai 2020-02-13 09:14:16 +01:00
parent 5960b4c741
commit f273c0df6f
No known key found for this signature in database
GPG Key ID: 38F402C8471DDE93
2 changed files with 8 additions and 17 deletions

View File

@ -2696,13 +2696,15 @@ Maybe add ∉ for ~not in~ later, if possible.
(projectile-after-switch-project . auto-virtualenv-set-virtualenv)) (projectile-after-switch-project . auto-virtualenv-set-virtualenv))
#+END_SRC #+END_SRC
** Anaconda mode ** ElPy
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package anaconda-mode (use-package elpy
:hook :init
(python-mode . anaconda-mode) (elpy-enable)
(python-mode . anaconda-eldoc-mode)) :bind
(:map elpy-mode-map
("<C-return>" . nil))) ; I really dont like the C-RET functionality of ElPy
#+END_SRC #+END_SRC
** PipEnv ** PipEnv
@ -3175,16 +3177,6 @@ See previous versions of the current file.
(add-to-list 'company-backends 'company-emoji)) (add-to-list 'company-backends 'company-emoji))
#+END_SRC #+END_SRC
** Anaconda backend for Company
#+BEGIN_SRC emacs-lisp
(use-package company-anaconda
:after
company
:config
(add-to-list 'company-backends 'company-anaconda))
#+END_SRC
** Web mode (~web-mode~ and ~emmet-mode~, too) backend for Company ** Web mode (~web-mode~ and ~emmet-mode~, too) backend for Company
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp

View File

@ -36,7 +36,6 @@
ag ag
alert alert
all-the-icons all-the-icons
anaconda-mode
anzu anzu
arduino-mode arduino-mode
ascii-art-to-unicode ascii-art-to-unicode
@ -51,7 +50,6 @@
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
@ -74,6 +72,7 @@
electric-case electric-case
electric-operator electric-operator
electric-spacing electric-spacing
elpy
emamux emamux
emmet-mode emmet-mode
enlive enlive