]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(vim): Split Vim legacy and Vim9 script indent tests
authorDoug Kearns <dougkearns@gmail.com>
Mon, 13 Jan 2025 06:54:33 +0000 (07:54 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 13 Jan 2025 06:54:33 +0000 (07:54 +0100)
commit221c53202da1e9a2a30d081a46eacdeb220be443
treee636aeb35f3e2e77ff8906ced227bd977b02a1ce
parent8e92db4ea22f010d402df9d34071022a4aa8cef5
runtime(vim): Split Vim legacy and Vim9 script indent tests

The indent test file is not highlighted correctly as it's currently a
syntactically erroneous mix of legacy and Vim9 script.  This is causing
spurious indent test failures as the indent script relies on syntax ID
tests to determine the context of lines being processed.

Splitting the tests into legacy and Vim9 specific files allows for
correct syntax highlighting and indenting.

closes: #16431

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/indent/testdir/vim.in
runtime/indent/testdir/vim.ok
runtime/indent/testdir/vim9.in [new file with mode: 0644]
runtime/indent/testdir/vim9.ok [new file with mode: 0644]