mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/python: tab-width = python-indent-offset #882
This fixes evil-shift-width too (which is set to tab-width by evil-collection-python).
This commit is contained in:
@ -57,6 +57,8 @@
|
||||
python-shell-completion-string-code
|
||||
"';'.join(get_ipython().Completer.all_completions('''%s'''))\n"))
|
||||
|
||||
(setq-hook! 'python-mode-hook tab-width python-indent-offset)
|
||||
|
||||
;; Add python/pipenv version string to the major mode in the modeline
|
||||
(defun +python|adjust-mode-line ()
|
||||
(setq mode-name +python-mode-line-indicator))
|
||||
|
Reference in New Issue
Block a user