| Crates.io | rsn-fmt |
| lib.rs | rsn-fmt |
| version | 0.1.2 |
| created_at | 2023-11-16 01:34:00.655051+00 |
| updated_at | 2023-11-16 09:11:09.795247+00 |
| description | The rsn formatter |
| homepage | |
| repository | https://github.com/ModProg/rsn-fmt |
| max_upload_size | |
| id | 1037182 |
| size | 57,482 |
Configuration can be done through a rsnfmt.rsn or .rsnfmt.rsn config file in any parent directory
or in the user's configuration:
| Linux (and similar) | Windows | macOS |
|---|---|---|
$XDG_CONFIG_HOME or $HOME/.config |
$HOME/Library/Application Support |
{FOLDERID_RoamingAppData} |
/home/alice/.config |
/Users/Alice/Library/Application Support |
C:\Users\Alice\AppData\Roaming |
The default values are:
{
max_width: 60,
// Normalize all comments to a specific format
// Possible values: Block, Line, No
normalize_comments: No,
// Wrap comments: boolean
wrap_comments: false,
// Should formatting preserve empty lines
// Possible values: One, All, None
preserve_empty_lines: One,
// Inherit parent/global configuration: boolean
inherit: true
}