aboutsummaryrefslogtreecommitdiffstats
path: root/templates/python-project-dir-locals.el
Commit message (Collapse)AuthorAgeFilesLines
* Python LSP via per-project micromamba envs; silence native-comp warningsVaino Kauppila2026-09-101-0/+18
- Drop python-mode from the global eglot hook: mode hooks run before .dir-locals.el applies, so it would always grab the system pylsp. Python eglot now starts per-project from .dir-locals.el pointing at the project's micromamba env (interpreter, exec-path, pylsp). - templates/python-project-dir-locals.el: copy+edit recipe for new projects. vkeHF is already wired to env vkehf. - Suppress (native-compiler) warnings: go-mode and friends reference lsp/eglot functions they don't require; harmless noise. Verified in a GUI session: opening vkeHF/superhet.py connects eglot and spawns ~/.local/share/mamba/envs/vkehf/bin/pylsp.