aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/optionstr.c
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-07-17 14:27:21 +0100
committerGitHub <noreply@github.com>2023-07-17 14:27:21 +0100
commit881d17a11393da75a27c072faa3fd45f510175fe (patch)
treeb1bc798c4a36de45f3ee0058ffdd86782638214d /src/nvim/optionstr.c
parent98b22867c33a45aaaf057afbeda8acb0216494e3 (diff)
downloadrneovim-881d17a11393da75a27c072faa3fd45f510175fe.tar.gz
rneovim-881d17a11393da75a27c072faa3fd45f510175fe.tar.bz2
rneovim-881d17a11393da75a27c072faa3fd45f510175fe.zip
feat(options)!: remove compatible behaviours for vim 5.0 and earlier
Diffstat (limited to 'src/nvim/optionstr.c')
-rw-r--r--src/nvim/optionstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/optionstr.c b/src/nvim/optionstr.c
index 3750574613..f07c05c113 100644
--- a/src/nvim/optionstr.c
+++ b/src/nvim/optionstr.c
@@ -1664,7 +1664,7 @@ const char *did_set_foldcolumn(optset_T *args)
const char *did_set_backspace(optset_T *args FUNC_ATTR_UNUSED)
{
if (ascii_isdigit(*p_bs)) {
- if (*p_bs > '3' || p_bs[1] != NUL) {
+ if (*p_bs != '2') {
return e_invarg;
}
} else if (check_opt_strings(p_bs, p_bs_values, true) != OK) {