Fixed a bug in displaying error messages.
This commit is contained in:
parent
ad6e8ed21e
commit
808cb08540
@ -104,7 +104,7 @@ def new_scratch_buffer(text):
|
|||||||
vim.command("set ft=")
|
vim.command("set ft=")
|
||||||
vim.command("set buftype=nofile")
|
vim.command("set buftype=nofile")
|
||||||
|
|
||||||
vim.current.buffer[:] = text.splitlines()
|
vim.buffers[len(vim.buffers)-1][:] = text.splitlines()
|
||||||
|
|
||||||
feedkeys(r"\<Esc>")
|
feedkeys(r"\<Esc>")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user