diff options
author | Alexis Kalabura | 2022-07-21 04:03:12 +0000 |
---|---|---|
committer | GitHub | 2022-07-21 04:03:12 +0000 |
commit | 8b2a14153b0d21391e06636d0df7e8cc1b8143c4 (patch) | |
tree | 1acd64f439523618eec4ccc8ad049d68fb748c90 /helix-view | |
parent | 906259cc41cc251dbbe1802e3a5e54a566a7d8d2 (diff) |
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
Diffstat (limited to 'helix-view')
-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 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, |