doom/set-indent-width: set standard-indent buffer-locally
This commit is contained in:
parent
fddef812ec
commit
e6540b419b
1 changed files with 2 additions and 2 deletions
|
@ -176,8 +176,8 @@ Respects `require-final-newline'."
|
||||||
(list (if (integerp current-prefix-arg)
|
(list (if (integerp current-prefix-arg)
|
||||||
current-prefix-arg
|
current-prefix-arg
|
||||||
(read-number "New indent size: "))))
|
(read-number "New indent size: "))))
|
||||||
(setq tab-width width
|
(setq tab-width width)
|
||||||
standard-indent width)
|
(setq-local standard-indent width)
|
||||||
(when (boundp 'evil-shift-width)
|
(when (boundp 'evil-shift-width)
|
||||||
(setq evil-shift-width width))
|
(setq evil-shift-width width))
|
||||||
(cond ((require 'editorconfig nil t)
|
(cond ((require 'editorconfig nil t)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue