Change default tab width to 4

This is more consistent with web UIs like GitHub, so I think it's a
better default.
pull/619/head
Wilfred Hughes 2024-01-07 13:15:12 +07:00
parent db86b28a28
commit bc0cbaf3ae
2 changed files with 5 additions and 1 deletions

@ -4,6 +4,10 @@
Added support for Objective-C.
### Display
The default display width for tabs has changed to 4.
## 0.54 (released 7th January 2024)
### Parsing

@ -21,7 +21,7 @@ pub(crate) const DEFAULT_BYTE_LIMIT: usize = 1_000_000;
pub(crate) const DEFAULT_GRAPH_LIMIT: usize = 3_000_000;
pub(crate) const DEFAULT_PARSE_ERROR_LIMIT: usize = 0;
pub(crate) const DEFAULT_TAB_WIDTH: usize = 8;
pub(crate) const DEFAULT_TAB_WIDTH: usize = 4;
pub(crate) const USAGE: &str = concat!(env!("CARGO_BIN_NAME"), " [OPTIONS] OLD-PATH NEW-PATH");