mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 01:08:20 +00:00
vim-patch:8.0.1172: when E734 is given option is still set (#8988)
Problem: When E734 is given option is still set.
Solution: Assign NULL to "s". (Christian Brabandt)
2a6a6c3014
This commit is contained in:

committed by
Justin M. Keyes

parent
d5702a4534
commit
ea5337d9b5
@@ -1912,6 +1912,7 @@ static char_u *ex_let_one(char_u *arg, typval_T *const tv,
|
||||
if ((opt_type == 1 && *op == '.')
|
||||
|| (opt_type == 0 && *op != '.')) {
|
||||
EMSG2(_(e_letwrong), op);
|
||||
s = NULL; // don't set the value
|
||||
} else {
|
||||
if (opt_type == 1) { // number
|
||||
if (*op == '+') {
|
||||
|
Reference in New Issue
Block a user