From ac35390c597dd8ef33ac3ff599fb2590ccc71f36 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 9 Jun 2023 10:34:42 -0400 Subject: [PATCH] neovim: Make lualine-nvim translucent --- modules/neovim/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/neovim/default.nix b/modules/neovim/default.nix index 7a103740..6650783d 100644 --- a/modules/neovim/default.nix +++ b/modules/neovim/default.nix @@ -156,7 +156,18 @@ in { plugin = lualine-nvim; type = "lua"; config = '' + local theme = require("lualine.themes.base16") + theme.normal.b.bg = nil + theme.normal.c.bg = nil + theme.replace.b.bg = nil + theme.insert.b.bg = nil + theme.visual.b.bg = nil + theme.inactive.a.bg = nil + theme.inactive.b.bg = nil + theme.inactive.c.bg = nil + require('lualine').setup { + options = { theme = theme }, sections = { lualine_c = {'%f'} } } '';