29 lines
895 B
Nix
29 lines
895 B
Nix
{ ... }: {
|
|
text = ''
|
|
vim.g.transparent_enabled = true
|
|
|
|
-- Optional, you don't have to run setup.
|
|
require("transparent").setup({
|
|
-- table: default groups
|
|
-- groups = {
|
|
-- 'Normal', 'NormalNC', 'Comment', 'Constant', 'Special', 'Identifier',
|
|
-- 'Statement', 'PreProc', 'Type', 'Underlined', 'Todo', 'String', 'Function',
|
|
-- 'Conditional', 'Repeat', 'Operator', 'Structure', 'LineNr', 'NonText',
|
|
-- 'SignColumn', 'CursorLine', 'CursorLineNr', 'StatusLine', 'StatusLineNC',
|
|
-- 'EndOfBuffer',
|
|
-- },
|
|
-- table: additional groups that should be cleared
|
|
extra_groups = {
|
|
'NormalFloat',
|
|
},
|
|
-- table: groups you don't want to clear
|
|
exclude_groups = {
|
|
'CursorLine',
|
|
},
|
|
-- function: code to be executed after highlight groups are cleared
|
|
-- Also the user event "TransparentClear" will be triggered
|
|
on_clear = function() end,
|
|
})
|
|
'';
|
|
}
|