aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-10-18 22:39:27 +0800
committerGitHub <noreply@github.com>2024-10-18 14:39:27 +0000
commit395f420fc65cb99f1c5cf17e230b962cb1e74bcd (patch)
tree92fdaf262480a9cd585459ea48cc3aed87df7669 /src
parentb5e69b32d7e299b8283f13f4f97081f6cf795f0a (diff)
downloadrneovim-395f420fc65cb99f1c5cf17e230b962cb1e74bcd.tar.gz
rneovim-395f420fc65cb99f1c5cf17e230b962cb1e74bcd.tar.bz2
rneovim-395f420fc65cb99f1c5cf17e230b962cb1e74bcd.zip
fix(options): fix some 'belloff' flags not working properly (#30856)
Problem: Some 'belloff' flags don't work properly. Solution: Keep BO_ flags and p_bo_values[] in sync.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/optionstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/optionstr.c b/src/nvim/optionstr.c
index 1850b82209..082073148e 100644
--- a/src/nvim/optionstr.c
+++ b/src/nvim/optionstr.c
@@ -72,8 +72,8 @@ static char *(p_ambw_values[]) = { "single", "double", NULL };
static char *(p_bg_values[]) = { "light", "dark", NULL };
static char *(p_bkc_values[]) = { "yes", "auto", "no", "breaksymlink", "breakhardlink", NULL };
static char *(p_bo_values[]) = { "all", "backspace", "cursor", "complete", "copy", "ctrlg", "error",
- "esc", "ex", "hangul", "lang", "mess", "showmatch", "operator",
- "register", "shell", "spell", "wildmode", NULL };
+ "esc", "ex", "hangul", "insertmode", "lang", "mess", "showmatch",
+ "operator", "register", "shell", "spell", "wildmode", NULL };
// Note: Keep this in sync with briopt_check()
static char *(p_briopt_values[]) = { "shift:", "min:", "sbr", "list:", "column:", NULL };
// Note: Keep this in sync with diffopt_changed()