diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-12-07 10:17:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-07 02:17:36 +0000 |
commit | ec94c2704f5059794923777ed51412d80bd26b5b (patch) | |
tree | 5e75aa7277274401f475e3eb1ccc711b7cd2ddc8 /src/nvim/option.c | |
parent | 517ecb85f58ed6ac8b4d5443931612e75e7c7dc2 (diff) | |
download | rneovim-ec94c2704f5059794923777ed51412d80bd26b5b.tar.gz rneovim-ec94c2704f5059794923777ed51412d80bd26b5b.tar.bz2 rneovim-ec94c2704f5059794923777ed51412d80bd26b5b.zip |
vim-patch:9.1.0908: not possible to configure :messages (#31492)
Problem: not possible to configure :messages
Solution: add the 'messagesopt' option (Shougo Matsushita)
closes: vim/vim#16068
https://github.com/vim/vim/commit/51d4d84d6a7159c6ce9e04b36f8edc105ca3794b
Co-authored-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Co-authored-by: h_east <h.east.727@gmail.com>
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index fd0ac375a6..e261f06b42 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -2199,13 +2199,6 @@ static const char *did_set_modified(optset_T *args) return NULL; } -/// Process the updated 'msghistory' option value. -static const char *did_set_msghistory(optset_T *args FUNC_ATTR_UNUSED) -{ - check_msg_hist(); - return NULL; -} - /// Process the updated 'number' or 'relativenumber' option value. static const char *did_set_number_relativenumber(optset_T *args) { @@ -2886,13 +2879,6 @@ static const char *validate_num_option(OptIndex opt_idx, OptInt *newval, char *e return e_invarg; } break; - case kOptMsghistory: - if (value < 0) { - return e_positive; - } else if (value > 10000) { - return e_invarg; - } - break; case kOptPyxversion: if (value == 0) { *newval = 3; |