Crate stylua_lib[−][src]
Macros
Structs
The configuration to use when formatting.
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
The type of indents to use when indenting
The type of line endings to use at the end of a line
The type of verification to perform to validate that the output AST is still correct.
The style of quotes to use within string literals
Functions
Formats given Lua code