Splitting echo text on \n and echoing lines
This commit is contained in:
parent
e60928d721
commit
101d949a88
@ -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 ):
|
||||
|
Loading…
x
Reference in New Issue
Block a user