mirror of
https://github.com/vim/vim.git
synced 2025-08-25 19:53:53 -04:00
patch 8.2.5001: checking translations affects the search pattern history
Problem: Checking translations affects the search pattern history. Solution: Use "keeppatterns". (Doug Kearns)
This commit is contained in:
parent
835ee980ee
commit
8a3704723c
@ -38,7 +38,7 @@ set nowrapscan
|
|||||||
" Start at the first "msgid" line.
|
" Start at the first "msgid" line.
|
||||||
let wsv = winsaveview()
|
let wsv = winsaveview()
|
||||||
1
|
1
|
||||||
/^msgid\>
|
keeppatterns /^msgid\>
|
||||||
|
|
||||||
" When an error is detected this is set to the line number.
|
" When an error is detected this is set to the line number.
|
||||||
" Note: this is used in the Makefile.
|
" Note: this is used in the Makefile.
|
||||||
@ -101,7 +101,7 @@ while 1
|
|||||||
|
|
||||||
" Find next msgid. Quit when there is no more.
|
" Find next msgid. Quit when there is no more.
|
||||||
let lnum = line('.')
|
let lnum = line('.')
|
||||||
silent! /^msgid\>
|
silent! keeppatterns /^msgid\>
|
||||||
if line('.') == lnum
|
if line('.') == lnum
|
||||||
break
|
break
|
||||||
endif
|
endif
|
||||||
@ -134,7 +134,7 @@ endfunc
|
|||||||
" Check that the \n at the end of the msgid line is also present in the msgstr
|
" Check that the \n at the end of the msgid line is also present in the msgstr
|
||||||
" line. Skip over the header.
|
" line. Skip over the header.
|
||||||
1
|
1
|
||||||
/^"MIME-Version:
|
keeppatterns /^"MIME-Version:
|
||||||
while 1
|
while 1
|
||||||
let lnum = search('^msgid\>')
|
let lnum = search('^msgid\>')
|
||||||
if lnum <= 0
|
if lnum <= 0
|
||||||
|
@ -734,6 +734,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 */
|
||||||
|
/**/
|
||||||
|
5001,
|
||||||
/**/
|
/**/
|
||||||
5000,
|
5000,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user