Closed
Description
To configure indentation width in rust-mode, the Emacs user modifies rust-indent-unit
, as in (setq rust-indent-unit 4)
. This works, but it's nicer, more idiomatic, and more compatible with other Emacs modes to base the rust-indent-unit variable off of tab-width
, and use a rust-mode-hook to customize tab-width
rather than set rust-indent-unit
globally.
Metadata
Metadata
Assignees
Labels
No labels