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