Mercurial > vim
view src/testdir/test10.in @ 31714:07480c2f5ea8 v9.0.1189
patch 9.0.1189: invalid memory access with folding and using "L"
Commit: https://github.com/vim/vim/commit/232bdaaca98c34a99ffadf27bf6ee08be6cc8f6a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 13 14:17:58 2023 +0000
patch 9.0.1189: invalid memory access with folding and using "L"
Problem: Invalid memory access with folding and using "L".
Solution: Prevent the cursor from moving to line zero.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 13 Jan 2023 15:30:04 +0100 |
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