on master help sign in
Fix `:quit!` description and tense of other commands (#902)
commita7d87c79ce751ce5d97843026de82d5ee124d176 authorOmnikar <omnikar5@gmail.com> dateSun 24 Oct 2021, 20:25 (5 years ago) parent42eee9d
1 file changed+6−6
helix-term/src/commands.rs+6−6
helix-term/src/commands.rs+6−6
@@ -2110,7 +2110,7 @@ mod cmd {
21102110 TypableCommand {
21112111 name: "quit!",
21122112 aliases: &["q!"],
2113− doc: "Close the current view.",
2113+ doc: "Close the current view forcefully (ignoring unsaved changes).",
21142114 fun: force_quit,
21152115 completer: None,
21162116 },
@@ -2173,35 +2173,35 @@ mod cmd {
21732173 TypableCommand {
21742174 name: "write-quit",
21752175 aliases: &["wq", "x"],
2176− doc: "Writes changes to disk and closes the current view. Accepts an optional path (:wq some/path.txt)",
2176+ doc: "Write changes to disk and close the current view. Accepts an optional path (:wq some/path.txt)",
21772177 fun: write_quit,
21782178 completer: Some(completers::filename),
21792179 },
21802180 TypableCommand {
21812181 name: "write-quit!",
21822182 aliases: &["wq!", "x!"],
2183− doc: "Writes changes to disk and closes the current view forcefully. Accepts an optional path (:wq! some/path.txt)",
2183+ doc: "Write changes to disk and close the current view forcefully. Accepts an optional path (:wq! some/path.txt)",
21842184 fun: force_write_quit,
21852185 completer: Some(completers::filename),
21862186 },
21872187 TypableCommand {
21882188 name: "write-all",
21892189 aliases: &["wa"],
2190− doc: "Writes changes from all views to disk.",
2190+ doc: "Write changes from all views to disk.",
21912191 fun: write_all,
21922192 completer: None,
21932193 },
21942194 TypableCommand {
21952195 name: "write-quit-all",
21962196 aliases: &["wqa", "xa"],
2197− doc: "Writes changes from all views to disk and close all views.",
2197+ doc: "Write changes from all views to disk and close all views.",
21982198 fun: write_all_quit,
21992199 completer: None,
22002200 },
22012201 TypableCommand {
22022202 name: "write-quit-all!",
22032203 aliases: &["wqa!", "xa!"],
2204− doc: "Writes changes from all views to disk and close all views forcefully (ignoring unsaved changes).",
2204+ doc: "Write changes from all views to disk and close all views forcefully (ignoring unsaved changes).",
22052205 fun: force_write_all_quit,
22062206 completer: None,
22072207 },