docs: fix missing ] in wrap hl -marker switch docstring

Also add the related changelog entry
This commit is contained in:
Delapouite 2018-05-30 18:11:19 +02:00
parent ffdeab8aba
commit b60ed6ca53
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,8 @@ released versions.
* The search prompt uses buffer word completion so that fuzzy completion
can be used to quickly search for a buffer word.
* The `wrap` highlighter can accept a new `-marker <marker_text>` switch.
== Kakoune 2018.04.13
First official Kakoune release.

View File

@ -2096,7 +2096,7 @@ void register_highlighters()
registry.insert({
"wrap",
{ WrapHighlighter::create,
"Parameters: [-word] [-indent] [-width <max_width>] [-marker <marker_text>\n"
"Parameters: [-word] [-indent] [-width <max_width>] [-marker <marker_text>]\n"
"Wrap lines to window width, or max_width if given and window is wider,\n"
"wrap at word boundaries instead of codepoint boundaries if -word is given\n"
"insert marker_text at start of wrapped lines if given\n"