forked from aniani/vim
patch 8.2.0666: Ruby test fails on MS-Windows
Problem: Ruby test fails on MS-Windows. Solution: Remove the "maintainer" line. (Ken Takata, closes #6015)
This commit is contained in:
@@ -338,4 +338,16 @@ func IsRoot()
|
||||
return v:false
|
||||
endfunc
|
||||
|
||||
" Get all messages but drop the maintainer entry.
|
||||
func GetMessages()
|
||||
redir => result
|
||||
redraw | messages
|
||||
redir END
|
||||
let msg_list = split(result, "\n")
|
||||
if msg_list->len() > 0 && msg_list[0] =~ 'Messages maintainer:'
|
||||
return msg_list[1:]
|
||||
endif
|
||||
return msg_list
|
||||
endfunc
|
||||
|
||||
" vim: shiftwidth=2 sts=2 expandtab
|
||||
|
||||
Reference in New Issue
Block a user