소스 검색

Add small lsp configs

master
10sr 3 년 전
부모
커밋
39b093d18f
로그인 계정: 10sr GPG 키 ID: 7BEC428194130EB2
1개의 변경된 파일15개의 추가작업 그리고 5개의 파일을 삭제
  1. +15
    -5
      emacs.el

+ 15
- 5
emacs.el 파일 보기

@@ -2990,11 +2990,21 @@ ARGS are not used."
(when (fboundp 'projectile-mode)
(projectile-mode 1))

(with-eval-after-load 'eglot
(when (fboundp 'with-venv-advice-add)
(with-venv-advice-add 'eglot--executable-find))
(set-variable 'eldoc-echo-area-use-multiline-p nil)
(set-variable 'eglot-extend-to-xref t))
;; (with-eval-after-load 'eglot
;; (when (fboundp 'with-venv-advice-add)
;; (with-venv-advice-add 'eglot--executable-find))
;; (set-variable 'eldoc-echo-area-use-multiline-p nil)
;; (set-variable 'eglot-extend-to-xref t))

(set-variable 'lsp-python-ms-auto-install-server t)
(set-variable 'lsp-python-ms-python-executable-cmd "python3")
(add-hook 'python-mode-hook #'my-lsp-python-setup)

(defun my-lsp-python-setup ()
"Setup python ms."
(when (and (fboundp 'lsp)
(require 'lsp-python-ms nil t))
(lsp)))





불러오는 중...
취소
저장