mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +00:00
globals: typebuf_was_filled is bool
This commit is contained in:
@@ -1080,9 +1080,10 @@ void del_typebuf(int len, int offset)
|
|||||||
|
|
||||||
/* Reset the flag that text received from a client or from feedkeys()
|
/* Reset the flag that text received from a client or from feedkeys()
|
||||||
* was inserted in the typeahead buffer. */
|
* was inserted in the typeahead buffer. */
|
||||||
typebuf_was_filled = FALSE;
|
typebuf_was_filled = false;
|
||||||
if (++typebuf.tb_change_cnt == 0)
|
if (++typebuf.tb_change_cnt == 0) {
|
||||||
typebuf.tb_change_cnt = 1;
|
typebuf.tb_change_cnt = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -942,8 +942,8 @@ EXTERN int no_hlsearch INIT(= FALSE);
|
|||||||
EXTERN linenr_T printer_page_num;
|
EXTERN linenr_T printer_page_num;
|
||||||
|
|
||||||
|
|
||||||
EXTERN int typebuf_was_filled INIT(= FALSE); /* received text from client
|
EXTERN bool typebuf_was_filled INIT(= false); // received text from client
|
||||||
or from feedkeys() */
|
// or from feedkeys()
|
||||||
|
|
||||||
|
|
||||||
#ifdef BACKSLASH_IN_FILENAME
|
#ifdef BACKSLASH_IN_FILENAME
|
||||||
|
Reference in New Issue
Block a user