Skip to main content

normalize_indent

Function normalize_indent 

Source
pub fn normalize_indent(input: &str) -> String
Expand description

Replace a leading run of tabs and spaces with the same number of plain spaces; mirrors patch-parser.ts:227-229.