Source

aurum / test / addmessages.vim

Full commit
1
2
3
4
5
6
7
8
9
redir => s:messages
messages
redir END
let s:meslines=split(s:messages, "\n")[1:]
if !empty(s:meslines)
    call WriteFile(['>>> Messages:']+
                \  s:meslines+
                \  ['<<< Messages^'])
endif