summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-24 21:14:30 +0300
committerThomas Voss <mail@thomasvoss.com> 2023-08-24 21:14:30 +0300
commit5d35b452f5be93ce719ad6630958c5f6205fb66f (patch)
treea8248953a43823d45fc2284c6e454876f0f963b1
parent987f073fd5f522bd3f464a5565e5c7c433c0858b (diff)
emacs: Add support for pyright
-rw-r--r--.config/emacs/config.org10
1 files changed, 10 insertions, 0 deletions
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