// plugins
Typstyle - Configuration
Specify configuration under the "typstyle" key in your dprint configuration file.
| Property | Values | Default |
|---|---|---|
lineWidth |
Integer | Global lineWidth, or 80 |
indentWidth |
Integer | Global indentWidth, or 2 |
blankLinesUpperBound |
Integer | 1 |
collapseMarkupSpaces |
Boolean | false |
reorderImportItems |
Boolean | true |
wrapMode |
"none", "fill", "sentence" |
"none" |
lineEnding |
"lf", "crlf" |
Global newLineKind (CRLF or LF), or "lf" |
Typstyle always indents with spaces, so the global useTabs setting has no effect.
A global newLineKind of "auto" or "system" is treated as "lf".
See the plugin documentation and JSON schema for details.