1
0
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:
Bram Moolenaar
2020-04-30 19:19:29 +02:00
parent a161cb5ddd
commit 88e6cc2539
4 changed files with 16 additions and 14 deletions

View File

@@ -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