From 8b41f44882985c9d94380ed87c2dd91ef9202317 Mon Sep 17 00:00:00 2001 From: Ernest DONG Date: Thu, 27 Jan 2022 22:44:45 +0800 Subject: [PATCH] refactor(python): remove redundant pyright+eglot config joaotavora/eglot@fd27cdc8f9e8 adds Pyright support to Eglot, so these lines can be removed. Amend: 34cb632a61a0 Revert: #5355 Ref: joaotavora/eglot@fd27cdc8f9e8 Ref: joaotavora/eglot#742 --- modules/lang/python/config.el | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/lang/python/config.el b/modules/lang/python/config.el index 31f40c12f..cc8573569 100644 --- a/modules/lang/python/config.el +++ b/modules/lang/python/config.el @@ -332,8 +332,3 @@ (use-package! lsp-pyright :when (featurep! +pyright) :after lsp-mode)) - -(eval-when! (and (featurep! +pyright) - (featurep! :tools lsp +eglot)) - (after! eglot - (add-to-list 'eglot-server-programs '(python-mode . ("pyright-langserver" "--stdio")))))