nixos/home-manager/modules/programs/emacs/emacs.d/lib/az_python.el

12 lines
273 B
EmacsLisp

(use-package python-mode
:config
(unbind-key "C-c C-t" python-mode-map)
(setq python-shell-interpreter "python3")
:hook (python-mode . lsp-deferred))
(use-package python-pytest
:config
:bind
(:map python-mode-map ("C-c C-t" . python-pytest-function-dwim)))