feat(previewer): allow passing env to new_termopen_previewer (#3224)
* Allow passing env through term opts * Add doc update
This commit is contained in:
@@ -202,7 +202,7 @@ previewers.new_termopen_previewer = function(opts)
|
||||
|
||||
local term_opts = {
|
||||
cwd = opts.cwd or vim.loop.cwd(),
|
||||
env = conf.set_env,
|
||||
env = opts.env or conf.set_env,
|
||||
}
|
||||
|
||||
local cmd = opts.get_command(entry, status)
|
||||
|
||||
Reference in New Issue
Block a user