Mercurial > vim
view src/testdir/test20.in @ 21843:4a4678d26822 v8.2.1471
patch 8.2.1471: :const only locks the variable, not the value
Commit: https://github.com/vim/vim/commit/241572794f7e93d2f8b762de2300e5f7e4f07628
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 16 22:50:01 2020 +0200
patch 8.2.1471: :const only locks the variable, not the value
Problem: :const only locks the variable, not the value.
Solution: Lock the value as ":lockvar 1 var" would do. (closes https://github.com/vim/vim/issues/6719)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Aug 2020 23:00:04 +0200 |
parents | 30bdd2e4a6f9 |
children |
line wrap: on
line source
Tests Blockwise Visual when there are TABs before the text. First test for undo working properly when executing commands from a register. Also test this in an empty buffer. STARTTEST G0"ay$k@au :new @auY:quit! GP /start here$ "by$jjlld /456$ jj"bP :/56$/,$-1w! test.out :qa! ENDTEST 123456 234567 345678 test text test tex start here some text test text test text OxjAykdd