Fixed python indentation

This commit is contained in:
eriedaberrie 2022-12-31 14:10:38 -08:00
parent 02891efc87
commit 37bfb0229d

View file

@ -436,6 +436,7 @@
scroll-step 1 scroll-step 1
scroll-margin 3 scroll-margin 3
scroll-conservatively 9999 scroll-conservatively 9999
python-indent-guess-indent-offset nil
read-file-name-completion-ignore-case t read-file-name-completion-ignore-case t
read-buffer-completion-ignore-case t read-buffer-completion-ignore-case t
completion-ignore-case t completion-ignore-case t
@ -444,6 +445,7 @@
(setq-default c-basic-offset 4 (setq-default c-basic-offset 4
tab-width 4 tab-width 4
fill-column 80) fill-column 80)
(add-hook 'python-mode-hook (lambda () (setq tab-width 4)))
(global-hl-line-mode) (global-hl-line-mode)
(defun my-inhibit-hl-line-mode () (defun my-inhibit-hl-line-mode ()