mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-05-28 00:21:57 +02:00
Merge remote-tracking branch 'vim/master'
This commit is contained in:
+2
-1
@@ -4233,7 +4233,8 @@ nv_gd(
|
||||
char_u *ptr;
|
||||
|
||||
if ((len = find_ident_under_cursor(&ptr, FIND_IDENT)) == 0
|
||||
|| find_decl(ptr, len, nchar == 'd', thisblock, 0) == FAIL)
|
||||
|| find_decl(ptr, len, nchar == 'd', thisblock, SEARCH_START)
|
||||
== FAIL)
|
||||
clearopbeep(oap);
|
||||
#ifdef FEAT_FOLDING
|
||||
else if ((fdo_flags & FDO_SEARCH) && KeyTyped && oap->op_type == OP_NOP)
|
||||
|
||||
@@ -12,6 +12,7 @@ source test_feedkeys.vim
|
||||
source test_fnamemodify.vim
|
||||
source test_file_perm.vim
|
||||
source test_glob2regpat.vim
|
||||
source test_goto.vim
|
||||
source test_help_tagjump.vim
|
||||
source test_join.vim
|
||||
source test_lispwords.vim
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
" Test commands that jump somewhere.
|
||||
|
||||
func Test_geedee()
|
||||
new
|
||||
call setline(1, ["Filename x;", "", "int Filename", "int func() {", "Filename y;"])
|
||||
/y;/
|
||||
normal gD
|
||||
call assert_equal(1, line('.'))
|
||||
quit!
|
||||
endfunc
|
||||
@@ -763,6 +763,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1748,
|
||||
/**/
|
||||
1747,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user