mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.651
Problem: Completion after ":help \{-" gives an error message. Solution: Prepend a backslash.
This commit is contained in:
@@ -4851,7 +4851,7 @@ do_sub(eap)
|
|||||||
#ifdef FEAT_EVAL
|
#ifdef FEAT_EVAL
|
||||||
if (do_count)
|
if (do_count)
|
||||||
{
|
{
|
||||||
/* prevent accidently changing the buffer by a function */
|
/* prevent accidentally changing the buffer by a function */
|
||||||
save_ma = curbuf->b_p_ma;
|
save_ma = curbuf->b_p_ma;
|
||||||
curbuf->b_p_ma = FALSE;
|
curbuf->b_p_ma = FALSE;
|
||||||
sandbox++;
|
sandbox++;
|
||||||
@@ -5264,7 +5264,7 @@ do_sub_msg(count_only)
|
|||||||
* is assumed to be 'p' if missing.
|
* is assumed to be 'p' if missing.
|
||||||
*
|
*
|
||||||
* This is implemented in two passes: first we scan the file for the pattern and
|
* This is implemented in two passes: first we scan the file for the pattern and
|
||||||
* set a mark for each line that (not) matches. secondly we execute the command
|
* set a mark for each line that (not) matches. Secondly we execute the command
|
||||||
* for each line that has a mark. This is required because after deleting
|
* for each line that has a mark. This is required because after deleting
|
||||||
* lines we do not know where to search for the next match.
|
* lines we do not know where to search for the next match.
|
||||||
*/
|
*/
|
||||||
@@ -5896,9 +5896,14 @@ find_help_tags(arg, num_matches, matches, keep_lang)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* replace "[:...:]" with "\[:...:]"; "[+...]" with "\[++...]" */
|
/* Replace:
|
||||||
if (arg[0] == '[' && (arg[1] == ':'
|
* "[:...:]" with "\[:...:]"
|
||||||
|| (arg[1] == '+' && arg[2] == '+')))
|
* "[++...]" with "\[++...]"
|
||||||
|
* "\{" with "\\{"
|
||||||
|
*/
|
||||||
|
if ((arg[0] == '[' && (arg[1] == ':'
|
||||||
|
|| (arg[1] == '+' && arg[2] == '+')))
|
||||||
|
|| (arg[0] == '\\' && arg[1] == '{'))
|
||||||
*d++ = '\\';
|
*d++ = '\\';
|
||||||
|
|
||||||
for (s = arg; *s; ++s)
|
for (s = arg; *s; ++s)
|
||||||
|
@@ -719,6 +719,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
651,
|
||||||
/**/
|
/**/
|
||||||
650,
|
650,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user