From 37bfb0229d61b3930f4b9ca916be2a3fc57a31d6 Mon Sep 17 00:00:00 2001 From: eriedaberrie Date: Sat, 31 Dec 2022 14:10:38 -0800 Subject: [PATCH] Fixed python indentation --- init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.el b/init.el index f495f09..48f1ee6 100644 --- a/init.el +++ b/init.el @@ -436,6 +436,7 @@ scroll-step 1 scroll-margin 3 scroll-conservatively 9999 + python-indent-guess-indent-offset nil read-file-name-completion-ignore-case t read-buffer-completion-ignore-case t completion-ignore-case t @@ -444,6 +445,7 @@ (setq-default c-basic-offset 4 tab-width 4 fill-column 80) +(add-hook 'python-mode-hook (lambda () (setq tab-width 4))) (global-hl-line-mode) (defun my-inhibit-hl-line-mode ()