0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 9.1.0783: 'spell' option setting has problems

Problem:  'spell' option setting has problems
Solution: correctly check for comma for 'spellfile' option,
          remove unnecessary checks, refactor slightly (Milly)

closes: #15873

Signed-off-by: Milly <milly.ca@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Milly
2024-10-14 20:21:48 +02:00
committed by Christian Brabandt
parent 0c59c30271
commit 322ad0c953
7 changed files with 28 additions and 23 deletions

View File

@@ -3584,7 +3584,7 @@ did_set_spellfile(optset_T *args)
// If there is a window for this buffer in which 'spell' is set load the
// wordlists.
return did_set_spell_option(TRUE);
return did_set_spell_option();
}
/*
@@ -3600,7 +3600,7 @@ did_set_spelllang(optset_T *args)
// If there is a window for this buffer in which 'spell' is set load the
// wordlists.
return did_set_spell_option(FALSE);
return did_set_spell_option();
}
/*