Compare commits
2 commits
f6b6bbabf2
...
d73030d726
Author | SHA1 | Date | |
---|---|---|---|
d73030d726 | |||
e2fafc2560 |
2 changed files with 1 additions and 13 deletions
|
@ -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))
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue