diff --git a/python/vimsupport.py b/python/vimsupport.py index 4ee93a28..5399d0eb 100644 --- a/python/vimsupport.py +++ b/python/vimsupport.py @@ -60,7 +60,11 @@ def PostVimMessage( message ): def EchoText( text ): - vim.command( "echom '{0}'".format( EscapeForVim( text ) ) ) + def EchoLine( text ): + vim.command( "echom '{0}'".format( EscapeForVim( text ) ) ) + + for line in text.split( '\n' ): + EchoLine( line ) def EscapeForVim( text ):