diff options
author | Klemen Košir <klemen913@gmail.com> | 2014-04-29 10:52:10 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-07-08 17:34:08 +0000 |
commit | a568e8b644a41b12388b7c7de4ca0fb8dc107f18 (patch) | |
tree | ceda29fd66a672eaa0cc68bcacc6c7ae66bbb44b /src/nvim/buffer_defs.h | |
parent | ef34a0ab132bca94bd16d8518c3333cf81cbf2c6 (diff) | |
download | rneovim-a568e8b644a41b12388b7c7de4ca0fb8dc107f18.tar.gz rneovim-a568e8b644a41b12388b7c7de4ca0fb8dc107f18.tar.bz2 rneovim-a568e8b644a41b12388b7c7de4ca0fb8dc107f18.zip |
Replaced most TRUE/FALSE macros in arabic, mbyte and spell. #645
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 1f61c00325..48c78613be 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -314,7 +314,7 @@ typedef struct { # ifdef USE_ICONV iconv_t vc_fd; /* for CONV_ICONV */ # endif - int vc_fail; /* fail for invalid char, don't use '?' */ + bool vc_fail; /* fail for invalid char, don't use '?' */ } vimconv_T; /* @@ -432,7 +432,7 @@ typedef struct { /* for spell checking */ garray_T b_langp; /* list of pointers to slang_T, see spell.c */ - char_u b_spell_ismw[256]; /* flags: is midword char */ + bool b_spell_ismw[256]; /* flags: is midword char */ char_u *b_spell_ismw_mb; /* multi-byte midword chars */ char_u *b_p_spc; /* 'spellcapcheck' */ regprog_T *b_cap_prog; /* program for 'spellcapcheck' */ @@ -645,9 +645,9 @@ struct file_buffer { long b_p_sw; /* 'shiftwidth' */ int b_p_si; /* 'smartindent' */ long b_p_sts; /* 'softtabstop' */ - long b_p_sts_nopaste; /* b_p_sts saved for paste mode */ + long b_p_sts_nopaste; /* b_p_sts saved for paste mode */ char_u *b_p_sua; /* 'suffixesadd' */ - int b_p_swf; /* 'swapfile' */ + bool b_p_swf; /* 'swapfile' */ long b_p_smc; /* 'synmaxcol' */ char_u *b_p_syn; /* 'syntax' */ long b_p_ts; /* 'tabstop' */ @@ -738,7 +738,7 @@ struct file_buffer { */ int b_help; /* TRUE for help file buffer (when set b_p_bt is "help") */ - int b_spell; /* TRUE for a spell file buffer, most fields + bool b_spell; /* True for a spell file buffer, most fields are not used! Use the B_SPELL macro to access b_spell without #ifdef. */ |