From c144cc0b04c18d6749016773073a23b5e42d5804 Mon Sep 17 00:00:00 2001 From: Joshua Pauline Date: Tue, 4 Oct 2022 01:54:00 +1100 Subject: 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--- helix-view/src/editor.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'helix-view/src') 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, } -- cgit v1.2.3-70-g09d2