Clean-up python use-package block a bit

This commit is contained in:
Evie Litherland-Smith 2025-01-20 10:38:46 +00:00
parent b0620845d6
commit 5bb53069d1

10
init.el
View file

@ -1121,14 +1121,10 @@
:custom
(sh-basic-offset 2))
(defun my/enable-fill-column (col)
"Set and enable fill column to `COL'."
(set-fill-column col)
(display-fill-column-indicator-mode +1))
(use-package python
:hook ((python-base-mode . (lambda () (my/enable-fill-column 88)))
(python-base-mode . (lambda ()
:hook ((python-base-mode . (lambda ()
(set-fill-column 88)
(display-fill-column-indicator-mode +1)
(setq-local
python-check-command
(cond