Compare commits

...

2 commits

Author SHA1 Message Date
d73030d726 removed reminder message of all-the-icons for lsp-mode 2023-09-22 15:37:20 +08:00
e2fafc2560 removed lsp-pyright 2023-09-22 15:36:27 +08:00
2 changed files with 1 additions and 13 deletions

View file

@ -11,12 +11,6 @@
;; reference
;; https://github.com/domtronn/all-the-icons.el/issues/120
(when (display-graphic-p) ; if not in terminal Emacs
;; if on Windows and all-the-icons is not installed
(when (equal system-type 'windows-nt)
(unless (member "all-the-icons" (font-family-list))
(yes-or-no-p "The 'all-the-icons' fonts are recommended for this configuration with lsp-mode package. Continue and install it later?")
)
)
;; if not on Windows and all-the-icons is not installed
(unless (equal system-type 'windows-nt)
(unless (member "all-the-icons" (font-family-list))

View file

@ -3,12 +3,6 @@
;;; Code:
(use-package lsp-pyright
:config
(my-check-for-executable "pyright" "pyright")
:hook (python-mode . (lambda ()
(require 'lsp-pyright)
(lsp)))) ; or lsp-deferred
(use-package pyvenv
@ -29,7 +23,7 @@
)))
)
(defun my/python-mode-config ()
(setq python-indent-offset 4
python-indent 4