Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
fe81d45d
Commit
fe81d45d
authored
16 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.2-157
parent
7bfef80f
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/search.c
+8
-7
8 additions, 7 deletions
src/search.c
src/version.c
+2
-0
2 additions, 0 deletions
src/version.c
with
10 additions
and
7 deletions
src/search.c
+
8
−
7
View file @
fe81d45d
...
...
@@ -2327,8 +2327,8 @@ findmatchlimit(oap, initc, flags, maxtravel)
for
(
col
=
pos
.
col
;
check_prevcol
(
linep
,
col
,
'\\'
,
&
col
);)
bslcnt
++
;
}
/* Only accept a match when 'M' is in 'cpo' or when ecaping
is
* what we expect. */
/* Only accept a match when 'M' is in 'cpo' or when e
s
caping
*
is
what we expect. */
if
(
cpo_bsl
||
(
bslcnt
&
1
)
==
match_escaped
)
{
if
(
c
==
initc
)
...
...
@@ -4663,7 +4663,7 @@ find_pattern_in_path(ptr, dir, len, whole, skip_comments,
msg_putchar
(
'\n'
);
/* cursor below last one */
if
(
!
got_int
)
/* don't display if 'q'
typed at "--more--"
mesage */
mes
s
age */
{
msg_home_replace_hl
(
new_fname
);
MSG_PUTS
(
_
(
" (includes previously listed match)"
));
...
...
@@ -4975,7 +4975,7 @@ search_line:
||
IObuff
[
i
-
2
]
==
'!'
))))
IObuff
[
i
++
]
=
' '
;
}
/* copy as much as posible of the new word */
/* copy as much as pos
s
ible of the new word */
if
(
p
-
aux
>=
IOSIZE
-
i
)
p
=
aux
+
IOSIZE
-
i
-
1
;
STRNCPY
(
IObuff
+
i
,
aux
,
p
-
aux
);
...
...
@@ -5010,7 +5010,7 @@ search_line:
if
(
did_show
)
msg_putchar
(
'\n'
);
/* cursor below last one */
if
(
!
got_int
)
/* don't display if 'q' typed
at "--more--" mesage */
at "--more--" mes
s
age */
msg_home_replace_hl
(
curr_fname
);
prev_fname
=
curr_fname
;
}
...
...
@@ -5092,7 +5092,7 @@ search_line:
}
if
(
action
!=
ACTION_SHOW
)
{
curwin
->
w_cursor
.
col
=
(
colnr_T
)
(
startp
-
line
);
curwin
->
w_cursor
.
col
=
(
colnr_T
)(
startp
-
line
);
curwin
->
w_set_curswant
=
TRUE
;
}
...
...
@@ -5119,7 +5119,8 @@ exit_matched:
&&
action
==
ACTION_EXPAND
&&
!
(
compl_cont_status
&
CONT_SOL
)
#endif
&&
*
(
p
=
startp
+
1
))
&&
*
startp
!=
NUL
&&
*
(
p
=
startp
+
1
)
!=
NUL
)
goto
search_line
;
}
line_breakcheck
();
...
...
This diff is collapsed.
Click to expand it.
src/version.c
+
2
−
0
View file @
fe81d45d
...
...
@@ -676,6 +676,8 @@ static char *(features[]) =
static
int
included_patches
[]
=
{
/* Add new patch number below this line */
/**/
157
,
/**/
156
,
/**/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment