From 87199b4af1bda1611cf269644bff1f964cb1a5c8 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 27 Oct 2021 16:29:16 +0200 Subject: [PATCH] Move from elpy to lsp-pyre --- configuration.org | 15 ++++++--------- customizations.el | 2 +- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/configuration.org b/configuration.org index eddd3bd..5c95fc4 100644 --- a/configuration.org +++ b/configuration.org @@ -2766,16 +2766,13 @@ Maybe add ∉ for ~not in~ later, if possible. '("def" . 402)))) #+END_SRC -** ElPy +** Pyre-based LSP -#+BEGIN_SRC emacs-lisp -(use-package elpy - :init - (elpy-enable) - :bind - (:map elpy-mode-map - ("" . nil))) ; I really don’t like the C-RET functionality of ElPy -#+END_SRC +#+begin_src emacs-lisp +(use-package lsp-pyre + :hook + (python-mode . lsp)) +#+end_src ** Poetry diff --git a/customizations.el b/customizations.el index f0074e5..d66a542 100644 --- a/customizations.el +++ b/customizations.el @@ -75,7 +75,6 @@ electric-case electric-operator elpher - elpy emamux ement emmet-mode @@ -123,6 +122,7 @@ loccur lsp-dart lsp-mode + lsp-pyre lsp-ui magit markdown-mode