view src/testdir/test10.in @ 30821:a57e6da5860f v9.0.0745

patch 9.0.0745: wrong cursor position when using "gj" and "gk" in a long line Commit: https://github.com/vim/vim/commit/4b6172e108fe06be47c09f8690dc54608be3ee80 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 13 20:23:28 2022 +0100 patch 9.0.0745: wrong cursor position when using "gj" and "gk" in a long line Problem: Wrong cursor position when using "gj" and "gk" in a long line. Solution: Adjust computations for the cursor position and skipcol. Re-enable tests that pass now, disable failing breakindent test.
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Oct 2022 21:30:03 +0200
parents 9d7914012b82
children
line wrap: on
line source

Test that vim9script also works without the +eval feature.

STARTTEST
:/^START/+1,/^END/-1:w! Xvim9
:so Xvim9
ENDTEST

START
vim9script

if 1
  echo 'this is skipped without +eval'
endif

# colon required for a range
:$-1,$w! test.out
qa!
END

first line
last line