neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit df666521ac4dd338b59082b1100a4673acde9e64
parent dea311b33d7be6c76ba2a48e604a112ae1dc61d6
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Fri, 17 Feb 2023 08:41:04 +0800

fix(mappings): fix check for cpo-B inverted in completion

Diffstat:
Msrc/nvim/mapping.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nvim/mapping.c b/src/nvim/mapping.c @@ -1167,7 +1167,7 @@ static char *translate_mapping(char_u *str, int cpo_flags) garray_T ga; ga_init(&ga, 1, 40); - bool cpo_bslash = !(cpo_flags&FLAG_CPO_BSLASH); + bool cpo_bslash = cpo_flags & FLAG_CPO_BSLASH; for (; *str; str++) { int c = *str;