~aodag/dotfiles

a4ef490bb1c3ee8bbc610155eebd26f9ef340338 — Atsushi Odagiri 4 months ago c9c59a6
pyright
1 files changed, 5 insertions(+), 1 deletions(-)

M config/emacs/init.el
M config/emacs/init.el => config/emacs/init.el +5 -1
@@ 86,7 86,11 @@
  (setq lsp-keymap-prefix "C-c l")
  :hook
  (go-mode . lsp))

(use-package lsp-pyright
  :ensure t
  :hook (python-mode . (lambda ()
                         (require 'lsp-pyright)
                         (lsp))))  ; or lsp-deferred
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.