mirror of
https://github.com/arkorty/Neolite.git
synced 2026-05-07 10:02:15 +00:00
Add transparency support
Changes to be committed:
modified: init.lua
modified: lua/plugins.lua
new file: lua/transparency.lua
This commit is contained in:
parent
e5b0ff2d66
commit
424b9c0b8a
3 changed files with 24 additions and 0 deletions
|
|
@ -4,6 +4,9 @@ if not ok then
|
|||
end
|
||||
|
||||
packer.startup(function(use)
|
||||
-- Transparency
|
||||
use("xiyaowong/nvim-transparent")
|
||||
|
||||
-- Base16 colorscheme
|
||||
use("RRethy/nvim-base16")
|
||||
|
||||
|
|
|
|||
20
lua/transparency.lua
Normal file
20
lua/transparency.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
local ok, transparent = pcall(require, "transparent")
|
||||
if not ok then
|
||||
return
|
||||
end
|
||||
|
||||
transparent.setup({
|
||||
enable = false, -- 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
|
||||
ignore_linked_group = true, -- boolean: don't clear a group that links to another group
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue