diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-14 00:24:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-14 00:24:34 -0500 |
| commit | bcd26c73b0efd857b78096a2351f4b782a0e0673 (patch) | |
| tree | d82b29964571140a388c1ab785936aeaa6ccecb0 /tests/test-prog-lisp.el | |
| parent | 0058495e770bb63e41c6e7d52067000d52842ecd (diff) | |
| download | dotemacs-bcd26c73b0efd857b78096a2351f4b782a0e0673.tar.gz dotemacs-bcd26c73b0efd857b78096a2351f4b782a0e0673.zip | |
fix(prog-python): keep the pyright guard authoritative for LSP attach
lsp-pyright's :hook lambda called require and lsp-deferred unguarded on every python-ts buffer, so a machine without pyright still got the LSP attach prompt that cj/python-setup's guard exists to prevent. The guarded branch now owns the require and the attach, and the hook is gone.
Classic python-mode now runs the same setup hooks as python-ts-mode, so treesit-auto's grammar-unavailable fallback keeps indentation, keys, and LSP. Four tests cover the guard branches and pin that every python hook entry stays a named function.
Diffstat (limited to 'tests/test-prog-lisp.el')
0 files changed, 0 insertions, 0 deletions
