aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lua/mason/ui/instance.lua8
1 files changed, 2 insertions, 6 deletions
diff --git a/lua/mason/ui/instance.lua b/lua/mason/ui/instance.lua
index 0c68b032..d0026389 100644
--- a/lua/mason/ui/instance.lua
+++ b/lua/mason/ui/instance.lua
@@ -740,12 +740,8 @@ end
local border = settings.current.ui.border
-if border == nil then
- if vim.fn.has "nvim-0.11" == 1 then
- border = vim.o.winborder
- else
- border = "none"
- end
+if border == nil and vim.fn.exists "&winborder" == 0 then
+ border = "none"
end
window.init {