From 41e91b825c66f051a0c96ee1a459029b5894edb5 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Fri, 12 Aug 2022 09:14:05 +0200 Subject: Add wezterm add nvim transparent --- after/plugin/nightfox.lua | 5 +++++ after/plugin/transparent.lua | 20 ++++++++++++++++++++ after/plugin/vim-go.vim | 2 -- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 after/plugin/transparent.lua delete mode 100644 after/plugin/vim-go.vim (limited to 'after/plugin') diff --git a/after/plugin/nightfox.lua b/after/plugin/nightfox.lua index ce31634..afc979a 100644 --- a/after/plugin/nightfox.lua +++ b/after/plugin/nightfox.lua @@ -3,6 +3,11 @@ if not ok then return end +-- vim.cmd("set background=dark") +-- vim.cmd("hi Normal guibg=NONE ctermbg=NONE") +-- vim.cmd("hi EndOfBuffer guibg=NONE ctermbg=NONE") + + local palettes = { all = { } diff --git a/after/plugin/transparent.lua b/after/plugin/transparent.lua new file mode 100644 index 0000000..1548dd2 --- /dev/null +++ b/after/plugin/transparent.lua @@ -0,0 +1,20 @@ +local ok, transparent = pcall(require, "transparent") +if not ok then + return +end + +transparent.setup({ + enable = true, -- boolean: enable transparent + extra_groups = { -- table/string: additional groups that should be cleared + -- In particular, when you set it to 'all', that means all available groups + + -- example of akinsho/nvim-bufferline.lua + "BufferLineTabClose", + "BufferlineBufferSelected", + "BufferLineFill", + "BufferLineBackground", + "BufferLineSeparator", + "BufferLineIndicatorSelected", + }, + exclude = {}, -- table: groups you don't want to clear +}) diff --git a/after/plugin/vim-go.vim b/after/plugin/vim-go.vim deleted file mode 100644 index 9439cd2..0000000 --- a/after/plugin/vim-go.vim +++ /dev/null @@ -1,2 +0,0 @@ -" disable vim-go K binding -let g:go_doc_keywordprg_enabled = 0 -- cgit v1.2.3