Mercurial > vim-lawrencium
changeset 21:d0acefc1ec9a
Fixed multi-line output of `:Hg`.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 14 Dec 2011 16:52:11 -0800 |
parents | 01932a36df03 |
children | 8ad46beaa94e 84bceffbb19c |
files | plugin/lawrencium.vim |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugin/lawrencium.vim Tue Dec 13 17:35:50 2011 -0800 +++ b/plugin/lawrencium.vim Wed Dec 14 16:52:11 2011 -0800 @@ -253,7 +253,7 @@ let l:temp_file = s:tempname('hg-output-', '.txt') execute 'pedit ' . l:temp_file wincmd p - call append(0, l:output) + call append(0, split(l:output, '\n')) else " Just print out the output of the command. echo l:output