mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
fix(dashboard): set border = "none" on terminal sections (#1643)
## Description Since 0.11, a new `vim.o.winborder` global option sets the borders for all floating windows. Override this for terminal sections.
This commit is contained in:
parent
758e64c18f
commit
83f364f833
1 changed files with 1 additions and 0 deletions
|
|
@ -1062,6 +1062,7 @@ function M.sections.terminal(opts)
|
|||
style = "minimal",
|
||||
width = width,
|
||||
win = self.win,
|
||||
border = "none",
|
||||
})
|
||||
local hl = opts.hl and hl_groups[opts.hl] or opts.hl or "SnacksDashboardTerminal"
|
||||
Snacks.util.wo(win, { winhighlight = "TermCursorNC:" .. hl .. ",NormalFloat:" .. hl })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue