aboutsummaryrefslogtreecommitdiffstats
path: root/after/plugin/transparent.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-08-12 09:14:05 +0200
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-08-12 09:14:05 +0200
commit41e91b825c66f051a0c96ee1a459029b5894edb5 (patch)
tree96aff88150ce103719e2c84710bbf6dd74e01db1 /after/plugin/transparent.lua
parenta6eb3f300d3237fa111e30fa21b5084ed7636327 (diff)
downloadnvim-conf-41e91b825c66f051a0c96ee1a459029b5894edb5.tar.gz
nvim-conf-41e91b825c66f051a0c96ee1a459029b5894edb5.zip
Add wezterm add nvim transparent
Diffstat (limited to 'after/plugin/transparent.lua')
-rw-r--r--after/plugin/transparent.lua20
1 files changed, 20 insertions, 0 deletions
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
+})