We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e420e53 commit 679d484Copy full SHA for 679d484
lua/flatten/core.lua
@@ -2,11 +2,11 @@ local M = {}
2
3
function M.unblock_guest(guest_pipe)
4
local response_sock = vim.fn.sockconnect("pipe", guest_pipe, { rpc = true })
5
- vim.rpcnotify(
+ vim.rpcrequest(
6
response_sock,
7
"nvim_exec_lua",
8
- ---@diagnostic disable-next-line: param-type-mismatch
9
- "vim.cmd.qa({ bang = true })",
+ "vim.defer_fn(function() vim.cmd.qa({ bang = true }) end, 25)",
+ ---@diagnostic disable-next-line: redundant-parameter
10
{}
11
)
12
vim.fn.chanclose(response_sock)
0 commit comments