diff options
author | Ben Lee-Cohen | 2022-05-04 02:17:08 +0000 |
---|---|---|
committer | GitHub | 2022-05-04 02:17:08 +0000 |
commit | 09a17e4fa3d0aa67e399c02c484a768d85acaac6 (patch) | |
tree | 60f097b309ee1897f150ccf321239b4f71b841b7 /helix-term/src/commands | |
parent | f59b3b91c86d8f92ce72a4bb873bbb6aaaa4d2a9 (diff) |
Making the 'set-option' command help more descriptive. (#2365)
* Making the 'set-option' command help more descriptive.
* Adding the generated docs
* Making the message multi-line
* Replace newline with break in generated docs
Diffstat (limited to 'helix-term/src/commands')
-rw-r--r-- | helix-term/src/commands/typed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 68aa7703..68b64bb8 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -1594,7 +1594,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[ TypableCommand { name: "set-option", aliases: &["set"], - doc: "Set a config option at runtime.", + doc: "Set a config option at runtime.\nFor example to disable smart case search, use `:set search.smart-case false`.", fun: set_option, completer: Some(completers::setting), }, |