aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spellfile.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-04 11:13:19 +0800
committerGitHub <noreply@github.com>2022-07-04 11:13:19 +0800
commitf075feee3258d15f6549e33c185f6165f9c7fbfc (patch)
tree749fe579f2987a6da072e912f2b08a06c1bc4761 /src/nvim/spellfile.c
parentacb7a902812a064fced5ef7d389bd94cb45764bb (diff)
parent6b474d0237a1ec9b5b027e5d1fb738be38a57347 (diff)
downloadrneovim-f075feee3258d15f6549e33c185f6165f9c7fbfc.tar.gz
rneovim-f075feee3258d15f6549e33c185f6165f9c7fbfc.tar.bz2
rneovim-f075feee3258d15f6549e33c185f6165f9c7fbfc.zip
Merge pull request #19220 from zeertzjq/vim-8.2.1470
vim-patch:8.2.{1470,1493,1522,1523,1770,5072,5074}: spell patches
Diffstat (limited to 'src/nvim/spellfile.c')
-rw-r--r--src/nvim/spellfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c
index a532c106ef..04eb9dd2bc 100644
--- a/src/nvim/spellfile.c
+++ b/src/nvim/spellfile.c
@@ -733,7 +733,7 @@ slang_T *spell_load_file(char_u *fname, char_u *lang, slang_T *old_lp, bool sile
if (lp->sl_syllable == NULL) {
goto endFAIL;
}
- if (init_syl_tab(lp) == FAIL) {
+ if (init_syl_tab(lp) != OK) {
goto endFAIL;
}
break;
@@ -2379,7 +2379,7 @@ static afffile_T *spell_read_aff(spellinfo_T *spin, char_u *fname)
|| cur_aff->ah_flag == aff->af_needcomp
|| cur_aff->ah_flag == aff->af_comproot) {
smsg(_("Affix also used for "
- "BAD/RARE/KEEPCASE/NEEDAFFIX/NEEDCOMPOUND/NOSUGGEST"
+ "BAD/RARE/KEEPCASE/NEEDAFFIX/NEEDCOMPOUND/NOSUGGEST "
"in %s line %d: %s"),
fname, lnum, items[1]);
}