| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.
|
| |
|
|
|
|
|
|
|
|
| |
(#21883)
Problem: Cannot lock a variable in legacy Vim script like in Vim9.
Solution: Make ":lockvar 0" work.
https://github.com/vim/vim/commit/a187c43cfe8863d48b2159d695fedcb71f8525c1
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Not enough test coverage for evalvars.c.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5804)
https://github.com/vim/vim/commit/8dfcce3a78ccb520cc9d09081f998091494c50bf
Assert E475 instead of E474 in :redir test because a later patch changed
the error number.
Comment out the test for :echo with a deeply nested container as Nvim
implements :echo very differently.
|
| |
|
|
|
|
|
| |
Problem: Items in a list given to :const can still be modified.
Solution: Work like ":lockvar! name" but don't lock referenced items.
Make locking a blob work.
https://github.com/vim/vim/commit/021bda56710d98c09a6b35610a476ab2dd8c58ad
|
| | |
|
| |
|
|
|
| |
Problem: :const only locks the variable, not the value.
Solution: Lock the value as ":lockvar 1 var" would do. (closes vim/vim#6719)
https://github.com/vim/vim/commit/241572794f7e93d2f8b762de2300e5f7e4f07628
|
| |
|
|
|
|
| |
Problem: :lockvar and :unlockvar cannot be followed by "| endif".
Solution: Check for following commands. (closes vim/vim#5269)
https://github.com/vim/vim/commit/cc4423ae13d78367a3d0b5756783523d3b3a1d31
|
| |
|
|
|
|
|
| |
Problem: :const cannot be followed by "| endif".
Solution: Check following command for :const. (closes vim/vim#5269)
Also fix completion after :const.
https://github.com/vim/vim/commit/8f76e6b12b958f2779444a92234bbaf3f49eeb99
|
| |
|
|
|
|
|
| |
Problem: Docs and tests for :const can be improved.
Solution: Improve documentation, add a few more tests. (Ryuichi Hayashida,
closes vim/vim#4551)
https://github.com/vim/vim/commit/1c196e7b1742c1a50ce0d74190721acaad087f81
|
| |
|
|
|
|
| |
Problem: Const test fails with small features.
Solution: Don't unlet non-existing variables.
https://github.com/vim/vim/commit/b6e3b88ec8b757b3acf940f8b4938e975c39ba67
|
|
|
Problem: Not easy to define a variable and lock it.
Solution: Add ":const".
https://github.com/vim/vim/commit/9937a055437ef67b57a1bdec8f0799b669c9dbf0
|