📦 Initial Commit
This commit is contained in:
parent
5125fd927a
commit
e77acb091e
23 changed files with 516 additions and 24 deletions
23
lua/custom/colors.lua
Normal file
23
lua/custom/colors.lua
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
local colors = {}
|
||||
function colors.LineNumberColors()
|
||||
vim.api.nvim_set_hl(0, 'LineNrAbove', { fg='#999966', bold=true })
|
||||
vim.api.nvim_set_hl(0, 'LineNr', { fg='white', bold=true })
|
||||
vim.api.nvim_set_hl(0, 'LineNrBelow', { fg='#999966', bold=true })
|
||||
end
|
||||
|
||||
vim.api.nvim_create_user_command('TransparencyToggle',
|
||||
function (opts)
|
||||
vim.cmd('TransparentToggle')
|
||||
colors.LineNumberColors()
|
||||
end,
|
||||
{}
|
||||
)
|
||||
|
||||
vim.g.transparent_groups = vim.list_extend(
|
||||
vim.g.transparent_groups or {},
|
||||
vim.tbl_map(function(v)
|
||||
return v.hl_group
|
||||
end, vim.tbl_values(require('bufferline.config').highlights))
|
||||
)
|
||||
|
||||
return colors
|
||||
Loading…
Add table
Add a link
Reference in a new issue