mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
3607e0b8ff
commit
fa9cd8b878
@ -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();
|
||||
|
@ -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
|
||||
|
@ -696,7 +696,7 @@ static int included_patches[] = {
|
||||
// 1751,
|
||||
// 1750 NA
|
||||
// 1749 NA
|
||||
// 1748,
|
||||
1748,
|
||||
// 1747 NA
|
||||
// 1746 NA
|
||||
// 1745 NA
|
||||
|
Loading…
Reference in New Issue
Block a user