mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-10-06 18:37:27 +02:00
Whenever two or more filetype names share a common prefix, e.g. "java" and "javascript", passing the shortest name argument to Make, e.g. "make java test", will trigger the running of _all prefix matching_ test suites. To fix this blunder and to only have _requested_ test suites run, always append the leftmost conventional delimiters "[._]", e.g. "java[.]java", "java[_]numbers.java", to each filetype name when automatically assembling a regexp pattern for the filename filter. Furthermore, promote the Vim9 (pseudo-) filetype, e.g. "make vim9 test", "make vim vim9 test", etc. As before, VIM_SYNTAX_TEST_FILTER is still within reach for arbitrary test case grouping. closes: #21351 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>