Skip to main content

indent_axis_version

Function indent_axis_version 

Source
pub fn indent_axis_version(unit: &IndentUnit, enabled: bool) -> u64
Expand description

Hash the inputs that change the guides’ geometry.

Only shiftwidth and enabled: expandtab never affects an existing line’s rendered indentation, and tabstop already bumps the whitespace axis, which invalidates the same matrix. Carrying an input on two axes is carrying an input that can drift.