Skip to content

Commit

Permalink
account for unicode-lines feaure in line-ending doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kirawi committed Apr 6, 2022
1 parent 59d0ff8 commit c09bad5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helix-term/src/commands/typed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,9 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
TypableCommand {
name: "line-ending",
aliases: &[],
#[cfg(not(feature = "unicode-lines"))]
doc: "Set the document's default line ending. Options: crlf, lf.",
#[cfg(feature = "unicode-lines")]
doc: "Set the document's default line ending. Options: crlf, lf, cr, ff, nel.",
fun: set_line_ending,
completer: None,
Expand Down

0 comments on commit c09bad5

Please sign in to comment.