summaryrefslogtreecommitdiff
path: root/src/completion.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-11-18 19:55:57 +1100
committerMaxime Coste <mawww@kakoune.org>2020-11-18 19:56:05 +1100
commit161aa918df8c8a927b5c8e13dfe0ec72975895e3 (patch)
tree6d6fbdb8bcd1a89732b679d64315dbba390c86a6 /src/completion.hh
parentcdcf4b0c7d2f5b2bb07bd38599e19b886942cea4 (diff)
Restore auto-select on return, add a flag to disable that for commands
Fixes #3849 Again
Diffstat (limited to 'src/completion.hh')
-rw-r--r--src/completion.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/completion.hh b/src/completion.hh
index 370aec1b..d3aeca2b 100644
--- a/src/completion.hh
+++ b/src/completion.hh
@@ -22,7 +22,8 @@ struct Completions
{
None = 0,
Quoted = 0b1,
- Menu = 0b10
+ Menu = 0b10,
+ NoEmpty = 0b100
};
constexpr friend bool with_bit_ops(Meta::Type<Flags>) { return true; }