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:
parent
03ce3db322
commit
5145e7e822
1 changed files with 2 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue