From b60ed6ca53713284a4b767c39211b3f135e15654 Mon Sep 17 00:00:00 2001 From: Delapouite Date: Wed, 30 May 2018 18:11:19 +0200 Subject: [PATCH] docs: fix missing `]` in wrap hl -marker switch docstring Also add the related changelog entry --- doc/pages/changelog.asciidoc | 2 ++ src/highlighters.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/pages/changelog.asciidoc b/doc/pages/changelog.asciidoc index 30257b34..679948d1 100644 --- a/doc/pages/changelog.asciidoc +++ b/doc/pages/changelog.asciidoc @@ -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 ` switch. + == Kakoune 2018.04.13 First official Kakoune release. diff --git a/src/highlighters.cc b/src/highlighters.cc index 148b15b5..38745a9c 100644 --- a/src/highlighters.cc +++ b/src/highlighters.cc @@ -2096,7 +2096,7 @@ void register_highlighters() registry.insert({ "wrap", { WrapHighlighter::create, - "Parameters: [-word] [-indent] [-width ] [-marker \n" + "Parameters: [-word] [-indent] [-width ] [-marker ]\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"