Skip to content

Commit 71fe5c1

Browse files
committed
fix: nullify NVIM_LISTEN_ADDRESS in fzf subprocess
Closes #2253
1 parent 8f031ed commit 71fe5c1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lua/fzf-lua/fzf.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ function M.raw_fzf(contents, fzf_cli_args, opts)
152152
pty = true,
153153
env = {
154154
["SHELL"] = shell_cmd[1],
155+
-- Nullify "NVIM_LISTEN_ADDRESS", will cause issues if already in use (#2253)
156+
["NVIM_LISTEN_ADDRESS"] = "",
155157
["FZF_DEFAULT_COMMAND"] = FZF_DEFAULT_COMMAND,
156158
["SKIM_DEFAULT_COMMAND"] = FZF_DEFAULT_COMMAND,
157159
["FZF_LUA_SERVER"] = vim.g.fzf_lua_server,

0 commit comments

Comments
 (0)