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