Skip to main content

reindent

Function reindent 

Source
pub fn reindent(text: &str, prefix: &str) -> String
Expand description

Restore the prefix dedent stripped — ONLY non-empty lines reindent (the ignition-nvim semantics verbatim).