Add lang/python module with uv/ruff/pylsp, ANSI colors, and LSP auto-install

- Add lang/python.el: project detection, ruff format-on-save, C-c C-v -> ruff check,
  optional pylsp with auto-install via uv (asks once per session)
- Fix pylsp resolution to check .venv, uv tool path, and PATH
- Disable legacy pyls client to avoid spurious warnings
- Add ANSI color support in compilation buffers (editor.el)
- Remove python-mode/python-ts-mode from global lsp-deferred hooks (lsp.el)
- Add ruff, ty, uv packages to desktop group_vars
This commit is contained in:
Fabio Scotto di Santolo
2026-04-17 00:07:12 +02:00
parent 5065c02930
commit 10e79a4bae
5 changed files with 168 additions and 27 deletions

View File

@@ -115,8 +115,11 @@ profile_packages:
- ristretto
- rsync
- shotwell
- ruff
- terminus-font
- texlive
- ty
- uv
- Thunar
- thunar-archive-plugin
- thunar-volman