From 83f364f8334801d163ecc02c717dd8ee1e07ad53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Pierre=20Bouchard?= Date: Sun, 19 Oct 2025 04:16:50 -0400 Subject: [PATCH] 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. --- lua/snacks/dashboard.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/snacks/dashboard.lua b/lua/snacks/dashboard.lua index e39e52de..e8831773 100644 --- a/lua/snacks/dashboard.lua +++ b/lua/snacks/dashboard.lua @@ -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 })