From 3385c6a20e03673c724e61a162d5d6ceca67e9c5 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Thu, 28 May 2020 00:45:38 +0200 Subject: [PATCH] doc: state that replace-ranges' replacements are markup strings The term "display line" is only used in source code. --- doc/pages/highlighters.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/pages/highlighters.asciidoc b/doc/pages/highlighters.asciidoc index 52258ffe..441356b3 100644 --- a/doc/pages/highlighters.asciidoc +++ b/doc/pages/highlighters.asciidoc @@ -154,7 +154,8 @@ add-highlighter window/ ranges my_range *replace-ranges* :: use the data in the `range-specs` option of the given name to highlight the buffer. The string part of each tuple of the range-specs is - interpreted as a *display line* to display in place of the range. + interpreted as markup string (see <>) and displayed in place of the range. Here, the 3 first chars of the buffer will be replaced by the word 'red': --------------------------------------------------------