Add a file for python

This commit is contained in:
Andreas Zweili 2022-08-20 16:52:04 +02:00
parent eba9a3536e
commit 9f53745020
3 changed files with 15 additions and 15 deletions

View File

@ -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

View 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))

View File

@ -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"))