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/syntax.c | |
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/syntax.c')
-rw-r--r-- | src/nvim/syntax.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 0f29c8ffc8..76edccfefa 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -1557,7 +1557,7 @@ syn_finish_line ( int get_syntax_attr ( colnr_T col, - int *can_spell, + bool *can_spell, int keep_state /* keep state of char at "col" */ ) { @@ -1604,9 +1604,9 @@ get_syntax_attr ( */ static int syn_current_attr ( - int syncing, /* When 1: called for syncing */ - int displaying, /* result will be displayed */ - int *can_spell, /* return: do spell checking */ + int syncing, /* When 1: called for syncing */ + int displaying, /* result will be displayed */ + bool *can_spell, /* return: do spell checking */ int keep_state /* keep syntax stack afterwards */ ) { @@ -2069,7 +2069,7 @@ syn_current_attr ( if (syn_block->b_nospell_cluster_id != 0) { sps.id = syn_block->b_nospell_cluster_id; if (in_id_list(sip, sip->si_cont_list, &sps, 0)) - *can_spell = FALSE; + *can_spell = false; } } } @@ -5527,8 +5527,8 @@ syn_get_id ( win_T *wp, long lnum, colnr_T col, - int trans, /* remove transparency */ - int *spellp, /* return: can do spell checking */ + int trans, /* remove transparency */ + bool *spellp, /* return: can do spell checking */ int keep_state /* keep state of char at "col" */ ) { |