<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/nvim/testdir/test_const.vim, branch fix_repeatcmdline</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>test: move oldtests to test directory (#22536)</title>
<updated>2023-03-07T03:13:04+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-03-07T03:13:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=af23d173883f47fd02a9a380c719e4428370b484'/>
<id>af23d173883f47fd02a9a380c719e4428370b484</id>
<content type='text'>
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'.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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'.</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.1698: cannot lock a variable in legacy Vim script like in Vim9 (#21883)</title>
<updated>2023-01-19T00:03:13+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-01-19T00:03:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f8669e8a181abad98229d97439a9cafe8c32fc06'/>
<id>f8669e8a181abad98229d97439a9cafe8c32fc06</id>
<content type='text'>
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 &lt;Bram@vim.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;Bram@vim.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.0401: not enough test coverage for evalvars.c</title>
<updated>2022-10-26T05:41:31+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-10-26T05:05:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d40739843cf9a160587032bf381c440079e5a8ce'/>
<id>d40739843cf9a160587032bf381c440079e5a8ce</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.1473: items in a list given to :const can still be modified</title>
<updated>2021-09-15T23:13:41+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2021-07-30T23:20:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9e38c4a79fe0351e9e18bc57cf48b960e8d31e88'/>
<id>9e38c4a79fe0351e9e18bc57cf48b960e8d31e88</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>test/old: cherry-pick patch v8.1.1955 changes for test_trycatch.vim</title>
<updated>2020-12-12T04:39:10+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2020-10-21T04:03:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=cb8e0d07b3d947251775eb8f96d14af8c1295f9e'/>
<id>cb8e0d07b3d947251775eb8f96d14af8c1295f9e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.1471: :const only locks the variable, not the value (#12765)</title>
<updated>2020-08-17T00:13:52+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2020-08-17T00:13:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=161cdba1e3b8b53f474b2e76655c8c1a5217802f'/>
<id>161cdba1e3b8b53f474b2e76655c8c1a5217802f</id>
<content type='text'>
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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.2349: :lockvar and :unlockvar cannot be followed by "| endif"</title>
<updated>2019-11-27T01:41:51+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2019-11-27T01:40:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=90f2b1360469821dfd0e7e75d0b43859aa27dac1'/>
<id>90f2b1360469821dfd0e7e75d0b43859aa27dac1</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.2348: :const cannot be followed by "| endif"</title>
<updated>2019-11-27T01:38:59+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2019-11-27T01:05:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f196ab87a1b5a9da1326d4de883ab7e97a0bb1f0'/>
<id>f196ab87a1b5a9da1326d4de883ab7e97a0bb1f0</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.1554: docs and tests for :const can be improved</title>
<updated>2019-06-24T00:31:30+00:00</updated>
<author>
<name>rhysd</name>
<email>lin90162@yahoo.co.jp</email>
</author>
<published>2019-06-23T12:04:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=3d5a800278aacce3cf332e2e416975905881b8f6'/>
<id>3d5a800278aacce3cf332e2e416975905881b8f6</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.1543: const test fails with small features</title>
<updated>2019-06-24T00:31:12+00:00</updated>
<author>
<name>rhysd</name>
<email>lin90162@yahoo.co.jp</email>
</author>
<published>2019-06-23T12:02:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=bd0615590b901b99e8cce3c5e52c83af69649cd5'/>
<id>bd0615590b901b99e8cce3c5e52c83af69649cd5</id>
<content type='text'>
Problem:    Const test fails with small features.
Solution:   Don't unlet non-existing variables.
https://github.com/vim/vim/commit/b6e3b88ec8b757b3acf940f8b4938e975c39ba67
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Const test fails with small features.
Solution:   Don't unlet non-existing variables.
https://github.com/vim/vim/commit/b6e3b88ec8b757b3acf940f8b4938e975c39ba67
</pre>
</div>
</content>
</entry>
</feed>
