fix: project root is properly taken by user opts

feat: user can change border of terminal alongside enabling/disabling it
This commit is contained in:
DarthMooMancer
2025-05-15 11:31:11 -04:00
parent 28fdb698bf
commit 46263ca5e0
3 changed files with 70 additions and 61 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ function M.terminal(cmd)
row = row,
col = col,
style = "minimal",
border = M.opts.border and "rounded" or "none",
border = M.opts.border.enabled and M.opts.border.type,
})
vim.api.nvim_set_option_value("winblend", vim.o.pumblend, { win = win })
vim.api.nvim_set_option_value("winhighlight", "Normal:Pmenu,FloatBorder:Pmenu", { win = win })