Files
infra/dotfiles/desktop/.emacs.d/init.el
Fabio Scotto di Santolo 54d3d81014 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
2026-04-17 00:07:12 +02:00

53 lines
975 B
EmacsLisp

(message "Welcome to Emacs")
(message "Loading user configuration...")
(message "Emacs profile: %s" fscotto/emacs-profile)
;;=====================================================================================
;; Load modules
;;=====================================================================================
(fscotto/load-modules
;; Core
'core/packages
'core/ui
'core/performance
'core/editor
'core/keybindings
'core/buffer
;; Tools
'tools/completion
'tools/dired
'tools/project
'tools/spell
'tools/tramp
'tools/lsp
'tools/dap
'tools/treesitter
;; Languages
'lang/c
'lang/docker
'lang/golang
'lang/json
'lang/markdown
'lang/org
'lang/python
'lang/shell
'lang/yaml
;; Misc
'misc/dashboard
'misc/custom-functions
'misc/doom-modeline
'misc/which-key
'misc/gptel
'misc/email
'misc/rss
'misc/terminal
'misc/vcs
'misc/pdf
'misc/epub
'misc/i3-config)
(message "...user configuration loaded")