Crate stylua_lib[−][src]
Macros
check_should_format | |
fmt_op | |
fmt_symbol |
Structs
Config | The configuration to use when formatting. |
Range | An optional formatting range. If provided, only content within these boundaries (inclusive) will be formatted. Both boundaries are optional, and are given as byte offsets from the beginning of the file. |
Enums
IndentType | The type of indents to use when indenting |
LineEndings | The type of line endings to use at the end of a line |
QuoteStyle | The style of quotes to use within string literals |
Functions
format_code | Formats given Lua code |