summaryrefslogtreecommitdiff
path: root/src/json_ui.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-06-03 12:06:29 +1000
committerMaxime Coste <mawww@kakoune.org>2018-06-03 12:17:38 +1000
commit2bdbf7e379412ff4461871c1eb342948f90f51ca (patch)
tree4df85311f992a50f442bcf3184f94f20bcf29bb6 /src/json_ui.cc
parent56e5322b452ada676ca03884d7e813f42e007013 (diff)
Add MenuStyle::Search that prevents the menu from hiding buffer text
Fixes #2042
Diffstat (limited to 'src/json_ui.cc')
-rw-r--r--src/json_ui.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/json_ui.cc b/src/json_ui.cc
index cc97dcc3..81a52df7 100644
--- a/src/json_ui.cc
+++ b/src/json_ui.cc
@@ -117,6 +117,7 @@ String to_json(MenuStyle style)
switch (style)
{
case MenuStyle::Prompt: return R"("prompt")";
+ case MenuStyle::Search: return R"("search")";
case MenuStyle::Inline: return R"("inline")";
}
return "";