on master help sign in
Fix `:quit!` description and tense of other commands (#902)
a7d87c7Omnikar
helix-term/src/commands.rs+6−6
@@ -2110,7 +2110,7 @@ mod cmd {
2110 TypableCommand {
2110 TypableCommand {
2111 name: "quit!",
2111 name: "quit!",
2112 aliases: &["q!"],
2112 aliases: &["q!"],
2113− doc: "Close the current view.",
2113+ doc: "Close the current view forcefully (ignoring unsaved changes).",
2114 fun: force_quit,
2114 fun: force_quit,
2115 completer: None,
2115 completer: None,
2116 },
2116 },
@@ -2173,35 +2173,35 @@ mod cmd {
2173 TypableCommand {
2173 TypableCommand {
2174 name: "write-quit",
2174 name: "write-quit",
2175 aliases: &["wq", "x"],
2175 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)",
2177 fun: write_quit,
2177 fun: write_quit,
2178 completer: Some(completers::filename),
2178 completer: Some(completers::filename),
2179 },
2179 },
2180 TypableCommand {
2180 TypableCommand {
2181 name: "write-quit!",
2181 name: "write-quit!",
2182 aliases: &["wq!", "x!"],
2182 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)",
2184 fun: force_write_quit,
2184 fun: force_write_quit,
2185 completer: Some(completers::filename),
2185 completer: Some(completers::filename),
2186 },
2186 },
2187 TypableCommand {
2187 TypableCommand {
2188 name: "write-all",
2188 name: "write-all",
2189 aliases: &["wa"],
2189 aliases: &["wa"],
2190− doc: "Writes changes from all views to disk.",
2190+ doc: "Write changes from all views to disk.",
2191 fun: write_all,
2191 fun: write_all,
2192 completer: None,
2192 completer: None,
2193 },
2193 },
2194 TypableCommand {
2194 TypableCommand {
2195 name: "write-quit-all",
2195 name: "write-quit-all",
2196 aliases: &["wqa", "xa"],
2196 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.",
2198 fun: write_all_quit,
2198 fun: write_all_quit,
2199 completer: None,
2199 completer: None,
2200 },
2200 },
2201 TypableCommand {
2201 TypableCommand {
2202 name: "write-quit-all!",
2202 name: "write-quit-all!",
2203 aliases: &["wqa!", "xa!"],
2203 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).",
2205 fun: force_write_all_quit,
2205 fun: force_write_all_quit,
2206 completer: None,
2206 completer: None,
2207 },
2207 },