doom/set-indent-width: set standard-indent buffer-locally

This commit is contained in:
Henrik Lissner
2019-07-12 16:55:36 +02:00
parent fddef812ec
commit e6540b419b

View File

@ -176,8 +176,8 @@ Respects `require-final-newline'."
(list (if (integerp current-prefix-arg)
current-prefix-arg
(read-number "New indent size: "))))
(setq tab-width width
standard-indent width)
(setq tab-width width)
(setq-local standard-indent width)
(when (boundp 'evil-shift-width)
(setq evil-shift-width width))
(cond ((require 'editorconfig nil t)