summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-22 11:17:27 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-22 11:17:27 +0200
commit2371ef8c739dc4ddf63823c6035a7177fc083970 (patch)
treeebb34eda506b101c86d58fce9e4a4888c3cfd748
parentf7df2e3d5627e00e87525131cd98da49abc57c5b (diff)
downloaddotfiles-2371ef8c739dc4ddf63823c6035a7177fc083970.tar.gz
dotfiles-2371ef8c739dc4ddf63823c6035a7177fc083970.zip
misc(nvim): rounded borders and default bg color for floating windows
-rw-r--r--.config/nvim/init.lua1
-rw-r--r--.config/nvim/plugin/40-colors.lua2
2 files changed, 1 insertions, 2 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index 35d97f3..3f7515c 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -155,6 +155,7 @@ vim.opt.smartcase = true -- Search is case-sensitive if searching for uppercase
vim.opt.conceallevel = 2 -- Hide text with the "conceal" syntax attribute
vim.opt.showtabline = 2 -- Always show tabline
vim.opt.list = true -- Display <Tab> and other non-printables
+vim.opt.winborder = "rounded" -- Rounded outline for floating windows
vim.opt.listchars = { -- Characters used by 'list'
tab = "> ", -- Tab
trail = "-", -- Trailing space
diff --git a/.config/nvim/plugin/40-colors.lua b/.config/nvim/plugin/40-colors.lua
index 21c93e7..914ec2b 100644
--- a/.config/nvim/plugin/40-colors.lua
+++ b/.config/nvim/plugin/40-colors.lua
@@ -57,11 +57,9 @@ local function adjust_highlight()
if vim.o.background == "light" then
vim.api.nvim_set_hl(0, "TabLineSel", { bg = "#edffd5" })
vim.api.nvim_set_hl(0, "Cursorline", { bg = "#edffd5" })
- vim.api.nvim_set_hl(0, "NormalFloat", { bg = solarized_colors.base2 })
elseif vim.o.background == "dark" then
vim.api.nvim_set_hl(0, "TabLineSel", { bg = "#043624" })
vim.api.nvim_set_hl(0, "Cursorline", { bg = "#043624" })
- vim.api.nvim_set_hl(0, "NormalFloat", { bg = solarized_colors.base02 })
end
end
end