aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spellfile.c
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2022-08-26 11:11:14 +0100
committerGitHub <noreply@github.com>2022-08-26 11:11:14 +0100
commit06d5c6332deeb52ccd78d632d1fb28df91faf7dc (patch)
treeeec06181d28ca9ee9d0e8aa6042a84726d9be6f3 /src/nvim/spellfile.c
parent946c0aa66f7b52c406b2654b9869edcb79db5ada (diff)
parent2498e9feb025361576603a0101c86393d211e31e (diff)
downloadrneovim-06d5c6332deeb52ccd78d632d1fb28df91faf7dc.tar.gz
rneovim-06d5c6332deeb52ccd78d632d1fb28df91faf7dc.tar.bz2
rneovim-06d5c6332deeb52ccd78d632d1fb28df91faf7dc.zip
Merge pull request #19947 from lewis6991/truefalse
Diffstat (limited to 'src/nvim/spellfile.c')
-rw-r--r--src/nvim/spellfile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c
index 0fd7351d26..46249470d1 100644
--- a/src/nvim/spellfile.c
+++ b/src/nvim/spellfile.c
@@ -440,7 +440,7 @@ typedef struct spellinfo_S {
sblock_T *si_blocks; // memory blocks used
long si_blocks_cnt; // memory blocks allocated
- int si_did_emsg; // TRUE when ran out of memory
+ int si_did_emsg; // true when ran out of memory
long si_compress_cnt; // words to add before lowering
// compression limit
@@ -454,7 +454,7 @@ typedef struct spellinfo_S {
int si_ascii; // handling only ASCII words
int si_add; // addition file
- int si_clear_chartab; // when TRUE clear char tables
+ int si_clear_chartab; // when true clear char tables
int si_region; // region mask
vimconv_T si_conv; // for conversion to 'encoding'
int si_memtot; // runtime memory used
@@ -1924,7 +1924,7 @@ static void spell_clear_flags(wordnode_T *node)
wordnode_T *np;
for (np = node; np != NULL; np = np->wn_sibling) {
- np->wn_u1.index = FALSE;
+ np->wn_u1.index = false;
spell_clear_flags(np->wn_child);
}
}
@@ -1940,7 +1940,7 @@ static void spell_print_node(wordnode_T *node, int depth)
msg((char_u *)line2);
msg((char_u *)line3);
} else {
- node->wn_u1.index = TRUE;
+ node->wn_u1.index = true;
if (node->wn_byte != NUL) {
if (node->wn_child != NULL) {