fix(terminal): dont use backdrop for edgy terminal windows

This commit is contained in:
Folke Lemaitre
2024-03-26 19:55:12 +01:00
parent 426cd3ed91
commit fd0677fb9a

View File

@ -52,6 +52,7 @@ function M.open(cmd, opts)
opts = vim.tbl_deep_extend("force", {
ft = "lazyterm",
size = { width = 0.9, height = 0.9 },
backdrop = LazyVim.has("edgy.nvim") and not cmd and 100 or nil,
}, opts or {}, { persistent = true }) --[[@as LazyTermOpts]]
local termkey = vim.inspect({ cmd = cmd or "shell", cwd = opts.cwd, env = opts.env, count = vim.v.count1 })