fix python view

This commit is contained in:
2025-06-14 22:46:40 +02:00
parent f66a2d37e1
commit c4cb079682

View File

@@ -22,8 +22,8 @@ Four windows:
(interactive) (interactive)
(require 'python) (require 'python)
(setq eldoc-echo-area-prefer-doc-buffer t) (setq eldoc-echo-area-prefer-doc-buffer t)
(let ((eldoc-echo-area-prefer-doc-buffer t) (setq eglot-sync-connect t)
(eglot-sync-connect t)) (let ()
;; first make visiting file full and run eglot ;; first make visiting file full and run eglot
(delete-other-windows) (delete-other-windows)
@@ -35,6 +35,7 @@ Four windows:
(other-window 1) (other-window 1)
;; (switch-to-buffer (concat "*eldoc*")) ;; (switch-to-buffer (concat "*eldoc*"))
(eldoc-display-in-buffer t nil)
(when (get-buffer (eldoc-doc-buffer)) (when (get-buffer (eldoc-doc-buffer))
(switch-to-buffer (eldoc-doc-buffer))) (switch-to-buffer (eldoc-doc-buffer)))