diff --git a/modules/lang/python/config.el b/modules/lang/python/config.el index 8fc520268..40bce909a 100644 --- a/modules/lang/python/config.el +++ b/modules/lang/python/config.el @@ -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))