summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-05-17 19:35:54 +0100
committerMaxime Coste <mawww@kakoune.org>2017-05-17 19:40:52 +0100
commitdfaafcd49a34f55bc832da96ab365e1c4bb3350a (patch)
treeb086525a5edb2749027e64cb3e7abac78642d63e /doc
parent44d2db2706da29fa9aad2e0a882bb850d7c8168b (diff)
Rename range-faces to range-specs
range-faces are now used to replace-range highlighters, where the string part is not interpretted as a face but as a display line, so the name was not relevant anymore.
Diffstat (limited to 'doc')
-rw-r--r--doc/manpages/highlighters.asciidoc10
-rw-r--r--doc/manpages/options.asciidoc4
2 files changed, 10 insertions, 4 deletions
diff --git a/doc/manpages/highlighters.asciidoc b/doc/manpages/highlighters.asciidoc
index ad941afb..0d804bbb 100644
--- a/doc/manpages/highlighters.asciidoc
+++ b/doc/manpages/highlighters.asciidoc
@@ -91,8 +91,14 @@ General highlighters
wrap at word boundaries instead of codepoint boundaries.
*ranges* <option_name>::
- use the data in the range-faces option of the given name to highlight
- the buffer.
+ use the data in the range-specs option of the given name to highlight
+ the buffer. The string part of the is interpretted as a face to apply
+ to the range.
+
+*replace-ranges* <option_name>::
+ use the data in the range-specs option of the given name to highlight
+ the buffer. The string part of the is interpretted as a display line to
+ display in place of the range.
*fill* <face>::
fill using the given *face*, mostly useful with regions highlighters
diff --git a/doc/manpages/options.asciidoc b/doc/manpages/options.asciidoc
index 95159087..93245f1a 100644
--- a/doc/manpages/options.asciidoc
+++ b/doc/manpages/options.asciidoc
@@ -21,10 +21,10 @@ Types
*int-list*, *str-list*::
a list, elements are separated by a colon (:) if an element needs
to contain a colon, it can be escaped with a backslash
-*range-faces*::
+*range-specs*::
a `:` separated list of a pair of a buffer range
(`<begin line>.<begin column>,<end line>.<end column>` or
- `<begin line>.<begin column>+<length>`) and a face (separated by `|`),
+ `<begin line>.<begin column>+<length>`) and a string (separated by `|`),
except for the first element which is just the timestamp of the buffer.
*line-flags*::
a `:` separated list of a line number and a corresponding flag