mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
search: "include" in current_tagblock() is bool
This commit is contained in:
@@ -3305,7 +3305,7 @@ int
|
|||||||
current_tagblock(
|
current_tagblock(
|
||||||
oparg_T *oap,
|
oparg_T *oap,
|
||||||
long count_arg,
|
long count_arg,
|
||||||
int include /* TRUE == include white space */
|
bool include // true == include white space
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
long count = count_arg;
|
long count = count_arg;
|
||||||
@@ -3319,7 +3319,7 @@ current_tagblock(
|
|||||||
char_u *cp;
|
char_u *cp;
|
||||||
int len;
|
int len;
|
||||||
int r;
|
int r;
|
||||||
int do_include = include;
|
bool do_include = include;
|
||||||
bool save_p_ws = p_ws;
|
bool save_p_ws = p_ws;
|
||||||
int retval = FAIL;
|
int retval = FAIL;
|
||||||
int is_inclusive = true;
|
int is_inclusive = true;
|
||||||
@@ -3450,7 +3450,7 @@ again:
|
|||||||
if (VIsual_active
|
if (VIsual_active
|
||||||
&& equalpos(start_pos, old_start)
|
&& equalpos(start_pos, old_start)
|
||||||
&& equalpos(end_pos, old_end)) {
|
&& equalpos(end_pos, old_end)) {
|
||||||
do_include = TRUE;
|
do_include = true;
|
||||||
curwin->w_cursor = old_start;
|
curwin->w_cursor = old_start;
|
||||||
count = count_arg;
|
count = count_arg;
|
||||||
goto again;
|
goto again;
|
||||||
|
Reference in New Issue
Block a user