vim-patch:7.4.1748

Problem:    "gD" does not find match in first column of first line. (Gary
            Johnson)
Solution:   Accept match at the cursor.

1538fc34fa
This commit is contained in:
James McCoy 2016-12-02 16:02:11 -05:00
parent 3607e0b8ff
commit fa9cd8b878
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB
3 changed files with 3 additions and 2 deletions

View File

@ -3646,7 +3646,7 @@ nv_gd (
size_t len;
char_u *ptr;
if ((len = find_ident_under_cursor(&ptr, FIND_IDENT)) == 0
|| !find_decl(ptr, len, nchar == 'd', thisblock, 0))
|| !find_decl(ptr, len, nchar == 'd', thisblock, SEARCH_START))
clearopbeep(oap);
else if ((fdo_flags & FDO_SEARCH) && KeyTyped && oap->op_type == OP_NOP)
foldOpenCursor();

View File

@ -8,6 +8,7 @@ source test_ex_undo.vim
source test_expr.vim
source test_expr_utf8.vim
source test_feedkeys.vim
source test_goto.vim
source test_menu.vim
source test_messages.vim
source test_options.vim

View File

@ -696,7 +696,7 @@ static int included_patches[] = {
// 1751,
// 1750 NA
// 1749 NA
// 1748,
1748,
// 1747 NA
// 1746 NA
// 1745 NA