From d32a660863a6f1854406848dda0be8ae3abe7520 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Mon, 2 Dec 2019 11:37:31 +0100 Subject: [PATCH] src: Document the base face syntax in `:set-face` --- src/commands.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/commands.cc b/src/commands.cc index 156df476..e8d4eaea 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -2268,14 +2268,15 @@ const CommandDesc set_face_cmd = { "face", "set-face : set face to refer to in \n" "\n" - "facespec format is [,][+]\n" + "facespec format is [,][+][@]\n" "colors are either a color name, or rgb:###### values.\n" "attributes is a combination of:\n" " u: underline, i: italic, b: bold, r: reverse,\n" " 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", + "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}, CommandFlags::None, face_doc_helper,