From 87622be5f2a5122ada9db6ff1a133a605c58b5d7 Mon Sep 17 00:00:00 2001 From: tslilc Date: Fri, 27 Jun 2025 20:07:04 +0100 Subject: [emacs] switch to ruff-mode --- emacs/inits/20-programming.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'emacs') diff --git a/emacs/inits/20-programming.el b/emacs/inits/20-programming.el index b3b034b..20d6fc4 100644 --- a/emacs/inits/20-programming.el +++ b/emacs/inits/20-programming.el @@ -1,4 +1,4 @@ -;; Time-stamp: <2025-06-25 20h15 BST (anker)> +;; Time-stamp: <2025-06-27 20h06 BST (8dae3a36)> ;; ----------------------------------------------------------------------------- ;; General setup @@ -197,10 +197,10 @@ ;; ----------------------------------------------------------------------------- ;; Python -(use-package lazy-ruff +(use-package ruff-format :defer :ensure - :commands lazy-ruff-mode) + :commands ruff-format-on-save-mode) (use-package highlight-indent-guides :ensure @@ -213,7 +213,7 @@ :hook (python-mode . (lambda () (require 'highlight-indent-guides) (highlight-indent-guides-mode t) - (lazy-ruff-mode) + (ruff-format-on-save-mode) (eglot-ensure) (visual-line-mode))) -- cgit v1.2.3