diff options
author | Nick | 2022-12-31 14:18:14 +0000 |
---|---|---|
committer | GitHub | 2022-12-31 14:18:14 +0000 |
commit | c9ed42cdec95b67b0d0ed15218daff37358ca86f (patch) | |
tree | 99fd7a7233f24cdb80a855f670cef2f297a8fbcf /helix-view/src/editor.rs | |
parent | 63dcaae1b9083396fb3faaef9eaa2421f7e48fb9 (diff) |
Add a status line element that shows just the basename of the file (#5318)
Diffstat (limited to 'helix-view/src/editor.rs')
-rw-r--r-- | helix-view/src/editor.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index c13a6673..3521077e 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -314,7 +314,10 @@ pub enum StatusLineElement { /// The LSP activity spinner Spinner, - /// The file nane/path, including a dirty flag if it's unsaved + /// The base file name, including a dirty flag if it's unsaved + FileBaseName, + + /// The relative file path, including a dirty flag if it's unsaved FileName, /// The file encoding |