From 8b2a14153b0d21391e06636d0df7e8cc1b8143c4 Mon Sep 17 00:00:00 2001 From: Alexis Kalabura Date: Thu, 21 Jul 2022 00:03:12 -0400 Subject: add statusline element to display file line endings (#3113) * add statusline element to display file line endings * run cargo fmt --all * change the word *ending* from plural to singular * support for the unicode-lines feature flag--- helix-view/src/editor.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'helix-view') diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 0178d399..7ac52f50 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -232,6 +232,9 @@ pub enum StatusLineElement { /// The file encoding FileEncoding, + /// The file line endings (CRLF or LF) + FileLineEnding, + /// The file type (language ID or "text") FileType, -- cgit v1.2.3-70-g09d2