mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 23:49:56 +00:00
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:
@@ -1,5 +1,7 @@
|
||||
;;; core-editor
|
||||
|
||||
(require 'ansi-color)
|
||||
|
||||
(setq standard-indent 4)
|
||||
(setq tab-stop-list nil)
|
||||
(setq indent-tabs-mode nil)
|
||||
@@ -9,6 +11,8 @@
|
||||
(prefer-coding-system 'utf-8-unix)
|
||||
(setq custom-file (null-device))
|
||||
|
||||
(add-hook 'compilation-filter-hook #'ansi-color-compilation-filter)
|
||||
|
||||
(provide 'editor)
|
||||
|
||||
;;; editor.el ends here
|
||||
|
||||
Reference in New Issue
Block a user