mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
edit: haveto_redraw (local variable) is bool
This commit is contained in:
parent
96f165e744
commit
6bff0f7b60
@ -5367,7 +5367,7 @@ internal_format (
|
|||||||
{
|
{
|
||||||
int cc;
|
int cc;
|
||||||
int save_char = NUL;
|
int save_char = NUL;
|
||||||
int haveto_redraw = FALSE;
|
bool haveto_redraw = false;
|
||||||
int fo_ins_blank = has_format_option(FO_INS_BLANK);
|
int fo_ins_blank = has_format_option(FO_INS_BLANK);
|
||||||
int fo_multibyte = has_format_option(FO_MBYTE_BREAK);
|
int fo_multibyte = has_format_option(FO_MBYTE_BREAK);
|
||||||
int fo_white_par = has_format_option(FO_WHITE_PAR);
|
int fo_white_par = has_format_option(FO_WHITE_PAR);
|
||||||
@ -5655,7 +5655,7 @@ internal_format (
|
|||||||
curwin->w_cursor.col = len;
|
curwin->w_cursor.col = len;
|
||||||
}
|
}
|
||||||
|
|
||||||
haveto_redraw = TRUE;
|
haveto_redraw = true;
|
||||||
can_cindent = true;
|
can_cindent = true;
|
||||||
// moved the cursor, don't autoindent or cindent now
|
// moved the cursor, don't autoindent or cindent now
|
||||||
did_ai = FALSE;
|
did_ai = FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user