diff options
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r-- | src/nvim/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 5065bee347..eb3bcec3ec 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -3218,7 +3218,7 @@ void ex_spelldump(exarg_T *eap) if (no_spell_checking(curwin)) { return; } - OptVal spl = get_option_value("spl", NULL, OPT_LOCAL, NULL); + OptVal spl = get_option_value(findoption("spl"), OPT_LOCAL); // Create a new empty buffer in a new window. do_cmdline_cmd("new"); |