Skip to content

Commit

Permalink
fix(preview): hide winbar when previewing in main. Fixes #464
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 1, 2024
1 parent c945d9f commit 250ea79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/trouble/view/window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ local defaults = {
filetype = "trouble",
buftype = "nofile",
},
wo = {},
wo = {
winbar = "",
},
}

---@type trouble.Window.opts
Expand All @@ -116,6 +118,7 @@ local minimal = {
relativenumber = false,
signcolumn = "no",
spell = false,
winbar = "",
statuscolumn = "",
winfixheight = true,
winfixwidth = true,
Expand Down

0 comments on commit 250ea79

Please sign in to comment.