aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spell.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-25 17:37:06 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-25 18:20:47 +0800
commit2241fd3211012e5eba3479d64e190f206c12087e (patch)
treea51af38158d406d75c2154e821c1d479c6bf6987 /src/nvim/spell.c
parent3ea45a2caf23ac1c335d04c0a3b2b2aa254d3d96 (diff)
downloadrneovim-2241fd3211012e5eba3479d64e190f206c12087e.tar.gz
rneovim-2241fd3211012e5eba3479d64e190f206c12087e.tar.bz2
rneovim-2241fd3211012e5eba3479d64e190f206c12087e.zip
vim-patch:8.2.2254: Vim9: bool option type is number
Problem: Vim9: bool option type is number. Solution: Have get_option_value() return a different value for bool and number options. (closes vim/vim#7583) https://github.com/vim/vim/commit/dd1f426bd617ac6a775f2e7795ff0b159e3fa315
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r--src/nvim/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c
index 8bc9cda247..948e935907 100644
--- a/src/nvim/spell.c
+++ b/src/nvim/spell.c
@@ -6880,7 +6880,7 @@ void ex_spelldump(exarg_T *eap)
if (no_spell_checking(curwin)) {
return;
}
- get_option_value("spl", &dummy, &spl, OPT_LOCAL);
+ (void)get_option_value("spl", &dummy, &spl, OPT_LOCAL);
// Create a new empty buffer in a new window.
do_cmdline_cmd("new");