How to config

The config is very sample just show as below.

Prerequisites

One of the python server need to be installed, for example I chosed the pyright

1
$ pip install pyright

Emacs

Elisp

1
2
3
4
5
    (use-package eglot
      :config
      (add-to-list 'eglot-server-programs
		   '(python-mode . ("pyright-langserver" "--stdio")))
      (add-hook 'python-mode-hook 'eglot-ensure))