Function stylua_lib::format_code
source · [−]pub fn format_code(
code: &str,
config: Config,
range: Option<Range>,
verify_output: OutputVerification
) -> Result<String, Error>
Expand description
Formats given Lua code
pub fn format_code(
code: &str,
config: Config,
range: Option<Range>,
verify_output: OutputVerification
) -> Result<String, Error>
Formats given Lua code