aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/normal.c2
-rw-r--r--src/nvim/testdir/test_alot.vim1
-rw-r--r--src/nvim/version.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index 76e3829bee..a85c350e7b 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -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();
diff --git a/src/nvim/testdir/test_alot.vim b/src/nvim/testdir/test_alot.vim
index 083f57aec1..c9d7b332e4 100644
--- a/src/nvim/testdir/test_alot.vim
+++ b/src/nvim/testdir/test_alot.vim
@@ -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
diff --git a/src/nvim/version.c b/src/nvim/version.c
index 05855ee385..29e7990b1b 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -696,7 +696,7 @@ static int included_patches[] = {
// 1751,
// 1750 NA
// 1749 NA
- // 1748,
+ 1748,
// 1747 NA
// 1746 NA
// 1745 NA