Skip to content

Commit

Permalink
fix(terminal): dont use backdrop for edgy terminal windows
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Mar 26, 2024
1 parent 426cd3e commit fd0677f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/lazyvim/util/terminal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit fd0677f

Please sign in to comment.