Add a file for python
This commit is contained in:
parent
eba9a3536e
commit
9f53745020
|
@ -26,21 +26,6 @@
|
|||
(use-package gnu-elpa-keyring-update
|
||||
:ensure t)
|
||||
|
||||
(use-package python-mode
|
||||
:ensure t
|
||||
:defer t
|
||||
:config
|
||||
(setq python-shell-interpreter "python3"))
|
||||
|
||||
(use-package elpy
|
||||
:ensure t
|
||||
:config
|
||||
(setq elpy-rpc-python-command "python3")
|
||||
(setq elpy-test-runner 'elpy-test-pytest-runner)
|
||||
(setq eldoc-idle-delay 1)
|
||||
(add-hook 'python-mode-hook (lambda () (highlight-indentation-mode -1)))
|
||||
(elpy-enable))
|
||||
|
||||
(use-package company
|
||||
:ensure t
|
||||
:bind
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
(use-package python-mode
|
||||
:ensure t
|
||||
:defer t
|
||||
:config
|
||||
(setq python-shell-interpreter "python3"))
|
||||
|
||||
(use-package elpy
|
||||
:ensure t
|
||||
:config
|
||||
(setq elpy-rpc-python-command "python3")
|
||||
(setq elpy-test-runner 'elpy-test-pytest-runner)
|
||||
(setq eldoc-idle-delay 1)
|
||||
(add-hook 'python-mode-hook (lambda () (highlight-indentation-mode -1)))
|
||||
(elpy-enable))
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
;; programming
|
||||
(load-file (config-path "powershell.el"))
|
||||
(load-file (config-path "python.el"))
|
||||
(load-file (config-path "webmode.el"))
|
||||
(load-file (config-path "yaml.el"))
|
||||
|
||||
|
|
Loading…
Reference in New Issue