comparison src/testdir/test_normal.vim @ 26532:255bc9a08e58 v8.2.3795

patch 8.2.3795: too many #ifdefs Commit: https://github.com/vim/vim/commit/739f13a55b4982efb37ebc9282e7f79975fff982 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 13 13:12:53 2021 +0000 patch 8.2.3795: too many #ifdefs Problem: Too many #ifdefs. Solution: Graduate the jumplist feature.
author Bram Moolenaar <Bram@vim.org>
date Mon, 13 Dec 2021 14:15:03 +0100
parents 33d680d372aa
children b531c26f728b
comparison
equal deleted inserted replaced
26531:b8398b0fb0ed 26532:255bc9a08e58
2334 endfunc 2334 endfunc
2335 2335
2336 " Test for g`, g;, g,, g&, gv, gk, gj, gJ, g0, g^, g_, gm, g$, gM, g CTRL-G, 2336 " Test for g`, g;, g,, g&, gv, gk, gj, gJ, g0, g^, g_, gm, g$, gM, g CTRL-G,
2337 " gi and gI commands 2337 " gi and gI commands
2338 func Test_normal33_g_cmd2() 2338 func Test_normal33_g_cmd2()
2339 CheckFeature jumplist
2340 call Setup_NewWindow() 2339 call Setup_NewWindow()
2341 " Test for g` 2340 " Test for g`
2342 clearjumps 2341 clearjumps
2343 norm! ma10j 2342 norm! ma10j
2344 let a=execute(':jumps') 2343 let a=execute(':jumps')
3268 close! 3267 close!
3269 endfunc 3268 endfunc
3270 3269
3271 " Tests for g cmds 3270 " Tests for g cmds
3272 func Test_normal_gdollar_cmd() 3271 func Test_normal_gdollar_cmd()
3273 CheckFeature jumplist
3274 call Setup_NewWindow() 3272 call Setup_NewWindow()
3275 " Make long lines that will wrap 3273 " Make long lines that will wrap
3276 %s/$/\=repeat(' foobar', 10)/ 3274 %s/$/\=repeat(' foobar', 10)/
3277 20vsp 3275 20vsp
3278 set wrap 3276 set wrap