From 5d35b452f5be93ce719ad6630958c5f6205fb66f Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 24 Aug 2023 21:14:30 +0300 Subject: emacs: Add support for pyright --- .config/emacs/config.org | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.config') diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 48687df..aa0c383 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -784,6 +784,16 @@ why they won’t just move on from it I have no idea. I’ll just disable snipp #+END_SRC +I use ~pyright~ as my Python LSP only because I know no better option. It does +need some this custom package though. + +#+BEGIN_SRC elisp + + (use-package lsp-pyright + :hook (python-ts-mode . (λ (require 'lsp-pyright) (lsp)))) + +#+END_SRC + *** Emmet-Mode This mode is super useful for writing HTML. It lets me expand something like -- cgit v1.2.3