feat: add indent_mode config option
This commit is contained in:
parent
cf6c9455c7
commit
910c69183d
1 changed files with 7 additions and 0 deletions
|
@ -26,6 +26,7 @@ limit_auto_save_file_types: ?[]const []const u8 = null, // null means *all*
|
|||
|
||||
indent_size: usize = 4,
|
||||
tab_width: usize = 8,
|
||||
indent_mode: IndentMode = .auto,
|
||||
|
||||
top_bar: []const u8 = "tabs",
|
||||
bottom_bar: []const u8 = "mode file log selection diagnostics keybind branch linenumber clock spacer",
|
||||
|
@ -48,3 +49,9 @@ pub const LineNumberMode = enum {
|
|||
relative,
|
||||
absolute,
|
||||
};
|
||||
|
||||
pub const IndentMode = enum {
|
||||
auto,
|
||||
spaces,
|
||||
tabs,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue