diff options
author | Aliaksei Budavei <0x000c70@gmail.com> | 2024-03-05 22:34:36 +0300 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-18 19:32:48 +0100 |
commit | f6069a7ddc530a140fc1d7043e8a00d27d98c518 (patch) | |
tree | 699e1ff84cdd0973be7c5f0d4d48b37d75381569 /runtime/syntax/testdir/input/markdown_conceal.markdown | |
parent | 93edd254d5d809cfa85c87b4cedb8b649c999494 (diff) |
runtime(syntax-tests): Support sourceable Vim configuration for syntax tests
Not all programming languages support comments; without such
support, the TEST_SETUP functionality that offers embeddable
Vim Ex commands may no longer be applicable.
We can achieve similar functionality by storing Ex commands
in a Vim file with its basename matching the basename of the
test file, and having this Vim file sourced, and then having
the test file loaded and tested. When such a Vim file would
be used for a language that has comments and whose matching
test file has embedded TEST_SETUP lines, we will accommodate
it by letting the TEST_SETUP lines augment and/or overrule
sourced configuration.
Further details can be found in the discussion thread at
https://github.com/vim/vim/discussions/14117.
related: #14215
Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/syntax/testdir/input/markdown_conceal.markdown')
0 files changed, 0 insertions, 0 deletions