Files
Aliaksei Budavei ad8d21b14a runtime(syntax-tests): Rename test files on demand
The current scheme for naming syntax plugin tests expects
a filetype name prefix and an associated filename extension.
However, many configurational filetypes, e.g. Gitignore,
lack any established filename extension.  Factor out the
available file-renaming routine and offer a convenience
function to work around this limitation.

For example, put in a VIM_TEST_SETUP aware context:
------------------------------------------------------------
call DeferRenamingTestFileTo('.gitignore')
------------------------------------------------------------

closes: #20482

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-06-13 18:45:58 +00:00
..