From f121ca1a61d6c421286c64c5825042c17c2796f8 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Thu, 22 Aug 2024 22:34:37 +0200 Subject: [PATCH] vim: nicer floating windows --- modules/base/vim.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/base/vim.nix b/modules/base/vim.nix index 6169e8e..f70ddae 100644 --- a/modules/base/vim.nix +++ b/modules/base/vim.nix @@ -180,6 +180,10 @@ overrides = function(colors) local theme = colors.theme return { + -- Transparent Floating Windows + NormalFloat = { bg = "none" }, + FloatBorder = { bg = "none" }, + FloatTitle = { bg = "none" }, -- Less pronounced cursorline CursorLine = { bg = theme.ui.bg_p1 }, -- More pronounced window borders