Rudy’s OBTF Rudolf Adamkovič

Home / Python / Python / Installation


Language server

source ~/.venv/bin/activate
pip install "python-lsp-server[all]"

N.B. [all] installs support for all 3rd-party tooling.

(with-eval-after-load 'eglot
  (add-to-list 'eglot-server-programs
               '((python-mode python-ts-mode) .
                 ("~/.venv/bin/pylsp"))))
(with-eval-after-load 'python
  (add-hook 'python-mode-hook #'eglot-ensure)
  (add-hook 'python-mode-hook #'outline-minor-mode))

© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.