mirror of
https://github.com/neovim/neovim.git
synced 2025-11-14 06:18:50 +00:00
A Mudholland Dr. Recast
The commit summary maybe does not make sense, but calling a function that does not wait on anything `wait()` makes even less sense.
This commit is contained in:
@@ -15,7 +15,7 @@ end
|
||||
local function diff(text, nodedent)
|
||||
local fname = helpers.tmpname()
|
||||
command('w! '..fname)
|
||||
helpers.wait()
|
||||
helpers.poke_eventloop()
|
||||
local data = io.open(fname):read('*all')
|
||||
if nodedent then
|
||||
helpers.eq(text, data)
|
||||
|
||||
Reference in New Issue
Block a user