feat: add indent_mode config option

This commit is contained in:
CJ van den Berg 2025-07-30 18:25:48 +02:00
parent cf6c9455c7
commit 910c69183d
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -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,
};