vim-patch:8.2.2038: compiler test fails on MS-Windows

Problem:    Compiler test fails on MS-Windows.
Solution:   Sort the found compiler plugin names.
142f23544c
This commit is contained in:
Jan Edmund Lazo
2021-01-30 13:31:47 -05:00
parent 8aae1521e5
commit 647c9c558b

View File

@@ -39,7 +39,8 @@ endfunc
func GetCompilerNames()
return glob('$VIMRUNTIME/compiler/*.vim', 0, 1)
\ ->map({k, v -> substitute(v, '.*[\\/]\([a-zA-Z0-9_\-]*\).vim', '\1', '')})
\ ->map({i, v -> substitute(v, '.*[\\/]\([a-zA-Z0-9_\-]*\).vim', '\1', '')})
\ ->sort()
endfunc
func Test_compiler_without_arg()