Add a file for python
This commit is contained in:
parent
eba9a3536e
commit
9f53745020
|
@ -26,21 +26,6 @@
|
||||||
(use-package gnu-elpa-keyring-update
|
(use-package gnu-elpa-keyring-update
|
||||||
:ensure t)
|
: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
|
(use-package company
|
||||||
:ensure t
|
:ensure t
|
||||||
:bind
|
:bind
|
||||||
|
|
14
home-manager/software/emacs/emacs.d/lib/python.el
Normal file
14
home-manager/software/emacs/emacs.d/lib/python.el
Normal file
|
@ -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
|
;; programming
|
||||||
(load-file (config-path "powershell.el"))
|
(load-file (config-path "powershell.el"))
|
||||||
|
(load-file (config-path "python.el"))
|
||||||
(load-file (config-path "webmode.el"))
|
(load-file (config-path "webmode.el"))
|
||||||
(load-file (config-path "yaml.el"))
|
(load-file (config-path "yaml.el"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user