aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d
diff options
context:
space:
mode:
authorThomas Schneider <qsx@chaotikum.eu>2024-08-26 17:55:45 +0200
committerThomas Schneider <qsx@chaotikum.eu>2024-08-26 17:55:45 +0200
commit47f70f698e3c3e02f17d6b9480ce39f79436be45 (patch)
tree7c549d1cb4192d93ee149e0c1911d4ad1a2fd620 /dot.emacs.d
parent5163fb49ce27c08d47aeec84de9d4e76612bb178 (diff)
Emacs: Replace elpy with python(-ts)-mode, lsp, and pet
Diffstat (limited to 'dot.emacs.d')
-rw-r--r--dot.emacs.d/init.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index b80cc05..afa0c55 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -104,11 +104,12 @@
("M-RET" . #'srefactor-refactor-at-point))
:after project)
-(use-package elpy
- :ensure t
- :defer t
+(use-package python
+ :ensure nil
+ :hook ((python-mode python-ts-mode) . lsp))
+(use-package pet
:init
- (advice-add 'python-mode :before 'elpy-enable))
+ (add-hook 'python-base-mode-hook 'pet-mode -10))
(use-package lsp-mode
:commands lsp