mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
Satisfy the linter.
This commit is contained in:

committed by
Justin M. Keyes

parent
3d73956b96
commit
cf434d2ae4
@@ -6707,7 +6707,7 @@ static struct fst {
|
|||||||
{ "did_filetype", 0, 0, f_did_filetype },
|
{ "did_filetype", 0, 0, f_did_filetype },
|
||||||
{ "diff_filler", 1, 1, f_diff_filler },
|
{ "diff_filler", 1, 1, f_diff_filler },
|
||||||
{ "diff_hlID", 2, 2, f_diff_hlID },
|
{ "diff_hlID", 2, 2, f_diff_hlID },
|
||||||
{"disable_char_avail_for_testing", 1, 1, f_disable_char_avail_for_testing},
|
{ "disable_char_avail_for_testing", 1, 1, f_disable_char_avail_for_testing },
|
||||||
{ "empty", 1, 1, f_empty },
|
{ "empty", 1, 1, f_empty },
|
||||||
{ "escape", 2, 2, f_escape },
|
{ "escape", 2, 2, f_escape },
|
||||||
{ "eval", 1, 1, f_eval },
|
{ "eval", 1, 1, f_eval },
|
||||||
|
@@ -1565,9 +1565,9 @@ int char_avail(void)
|
|||||||
// When disable_char_avail_for_testing(1) was called pretend
|
// When disable_char_avail_for_testing(1) was called pretend
|
||||||
// there is no typeahead
|
// there is no typeahead
|
||||||
if (disable_char_avail_for_testing) {
|
if (disable_char_avail_for_testing) {
|
||||||
return FALSE;
|
return false;
|
||||||
}
|
}
|
||||||
++no_mapping;
|
no_mapping++;
|
||||||
retval = vpeekc();
|
retval = vpeekc();
|
||||||
--no_mapping;
|
--no_mapping;
|
||||||
return retval != NUL;
|
return retval != NUL;
|
||||||
|
Reference in New Issue
Block a user