pub fn dedent(text: &str) -> (String, String)Expand description
Strip the common leading-TAB prefix Ignition stores scripts with —
the ignition-nvim semantics verbatim: the minimum leading-tab
count over non-empty lines decides the prefix; stray spaces in
the leading whitespace strip alongside the tabs. Returns
(dedented_text, indent_prefix) so reindent can restore it.