📦 Initial Commit

This commit is contained in:
UnknownRori 2023-06-12 09:28:01 +07:00
parent 5125fd927a
commit e77acb091e
No known key found for this signature in database
GPG key ID: 25FB6BA9E0169742
23 changed files with 516 additions and 24 deletions

23
lua/custom/colors.lua Normal file
View 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