feat(buffer): restore previous file type when switching buffers
This commit is contained in:
parent
f627a59f4d
commit
02ba05c500
2 changed files with 27 additions and 18 deletions
|
@ -50,6 +50,10 @@ curr_history: ?*UndoNode = null,
|
|||
mtime: i64,
|
||||
utime: i64,
|
||||
|
||||
file_type_name: ?[]const u8 = null,
|
||||
file_type_icon: ?[]const u8 = null,
|
||||
file_type_color: ?u24 = null,
|
||||
|
||||
pub const EolMode = enum { lf, crlf };
|
||||
pub const EolModeTag = @typeInfo(EolMode).Enum.tag_type;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue