diff options
| author | Maxime Coste <mawww@kakoune.org> | 2021-09-08 08:23:16 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2021-09-08 08:23:16 +1000 |
| commit | 3d8061b975e39a9bd9963777174be4bd823eebfa (patch) | |
| tree | 968298a6b9a01a10234c8048a9aa8dd1bb8ba2ba /src | |
| parent | 3fc8e29d101b4f6eef2538cdbe799bab9859f4b3 (diff) | |
Fix set-face docstring to include underline color
Diffstat (limited to 'src')
| -rw-r--r-- | src/commands.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/commands.cc b/src/commands.cc index 1f5dcf7e..bb253a61 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -2379,15 +2379,16 @@ static String face_doc_helper(const Context& context, CommandParameters params) const CommandDesc set_face_cmd = { "set-face", "face", - "set-face <scope> <name> <facespec>: set face <name> to refer to <facespec> in <scope>\n" + "set-face <scope> <name> <facespec>: set face <name> to <facespec> in <scope>\n" "\n" - "facespec format is <fg color>[,<bg color>][+<attributes>][@<base>]\n" + "facespec format is:\n" + " <fg color>[,<bg color>[,<underline color>]][+<attributes>][@<base>]\n" "colors are either a color name, rgb:######, or rgba:######## values.\n" "attributes is a combination of:\n" " u: underline, c: curly underline, i: italic, b: bold,\n" - " r: reverse, s: strikethrough, B: blink, d: dim,\n" - " f: final foreground, g: final background,\n" - " a: final attributes, F: same as +fga\n" + " r: reverse, s: strikethrough, B: blink, d: dim,\n" + " f: final foreground, g: final background,\n" + " a: final attributes, F: same as +fga\n" "facespec can as well just be the name of another face.\n" "if a base face is specified, colors and attributes are applied on top of it", ParameterDesc{{}, ParameterDesc::Flags::None, 3, 3}, |
