[Python] Adding some completion
Not clear whether I will really like this, but it's always easier to turn it off than finding out how to configure it in the first place :)
This commit is contained in:
parent
3de4a086c1
commit
d98cd21c0f
7
init.el
7
init.el
|
@ -2533,6 +2533,10 @@ With given ARG, display files in `db/important-document-path’."
|
||||||
;; These are packages that are not essential, but still nice to have. They
|
;; These are packages that are not essential, but still nice to have. They
|
||||||
;; provide optional functionality and may redefine builtin commands.
|
;; provide optional functionality and may redefine builtin commands.
|
||||||
|
|
||||||
|
(use-package company-jedi
|
||||||
|
:ensure t
|
||||||
|
:defer t)
|
||||||
|
|
||||||
(use-package cperl-mode
|
(use-package cperl-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands (cperl-mode)
|
:commands (cperl-mode)
|
||||||
|
@ -2695,6 +2699,9 @@ With given ARG, display files in `db/important-document-path’."
|
||||||
:init (setq python-indent-offset 2)
|
:init (setq python-indent-offset 2)
|
||||||
:config (progn
|
:config (progn
|
||||||
(add-hook 'python-mode-hook 'highlight-indentation-mode)
|
(add-hook 'python-mode-hook 'highlight-indentation-mode)
|
||||||
|
(add-hook 'python-mode-hook #'(lambda () (eldoc-mode -1)))
|
||||||
|
(add-hook 'python-mode-hook #'(lambda ()
|
||||||
|
(add-to-list 'company-backends 'company-jedi)))
|
||||||
(elpy-enable)))
|
(elpy-enable)))
|
||||||
|
|
||||||
;; Interactive interface to sdcv, the StarDict concole version. To use sdcv,
|
;; Interactive interface to sdcv, the StarDict concole version. To use sdcv,
|
||||||
|
|
Loading…
Reference in New Issue