mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 00:46:30 +00:00
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:
@@ -39,7 +39,8 @@ endfunc
|
|||||||
|
|
||||||
func GetCompilerNames()
|
func GetCompilerNames()
|
||||||
return glob('$VIMRUNTIME/compiler/*.vim', 0, 1)
|
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
|
endfunc
|
||||||
|
|
||||||
func Test_compiler_without_arg()
|
func Test_compiler_without_arg()
|
||||||
|
Reference in New Issue
Block a user