diff options
author | Joshua Pauline | 2022-10-03 14:54:00 +0000 |
---|---|---|
committer | GitHub | 2022-10-03 14:54:00 +0000 |
commit | c144cc0b04c18d6749016773073a23b5e42d5804 (patch) | |
tree | 834abbfd1b6f3276a900d2650f82be4dea7ba5b2 /helix-view/src/editor.rs | |
parent | 519857d6323d272106e0b48f9a9a23ce066f53f9 (diff) |
feat(statusline): add option to show total line numbers in file (#3960)
* feat(statusline): add option to show total line numbers in file
* feat(line numbers): add config to doc book
Diffstat (limited to 'helix-view/src/editor.rs')
-rw-r--r-- | helix-view/src/editor.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 70c49872..f3b0e26f 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -331,6 +331,9 @@ pub enum StatusLineElement { /// The cursor position as a percent of the total file PositionPercentage, + /// The total line numbers of the current file + TotalLineNumbers, + /// A single space Spacer, } |