summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2019-12-03 20:59:40 +1100
committerMaxime Coste <mawww@kakoune.org>2019-12-03 20:59:40 +1100
commitb5baac4336c19c127d53dd14fed922e7f020a13b (patch)
treeca74e9d57d62d3690fdda1048eaffd03fb9a4637 /src
parenta6a5d866a540f561105b8bc9eedfaf5f94a44977 (diff)
parentd32a660863a6f1854406848dda0be8ae3abe7520 (diff)
Merge remote-tracking branch 'lenormf/fix-doc-face-base'
Diffstat (limited to 'src')
-rw-r--r--src/commands.cc5
1 files 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 <scope> <name> <facespec>: set face <name> to refer to <facespec> in <scope>\n"
"\n"
- "facespec format is <fg color>[,<bg color>][+<attributes>]\n"
+ "facespec format is <fg color>[,<bg color>][+<attributes>][@<base>]\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,