mirror of
https://github.com/vim/vim.git
synced 2026-11-12 01:31:23 +01:00
Test-case filenames should always begin with the associated filetype name, properly delimited from the remaining part of the filename. As of v9.2.0636~1, a convenience function "DeferRenamingTestFileTo" is provided in "VIM_TEST_SETUP" aware contexts to temporarily give the file under test another, arbitrary name before executing ":syntax on". closes: #21352 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2 lines
39 B
VimL
2 lines
39 B
VimL
call DeferRenamingTestFileTo('skhdrc')
|