Update lots of things

This commit is contained in:
Alexander Gehrke 2023-08-01 16:28:47 +02:00
parent b3925cebad
commit 508883c3c2
17 changed files with 133 additions and 74 deletions

View file

@ -1,47 +1,14 @@
local colors = {
blue = '#00afff',
lightblue = '#87afff',
orange = '#ffaf5f',
yellow = '#ffd75f',
green = '#87d75f',
red = '#ff0000',
lightred = '#ff5f5f',
white = '#ffffff',
lightgray = '#c6c6c6',
gray = '#6a6a6a',
bggray = '#1c1c1c',
lightbggray = '#262626',
visualgray = '#303030',
black = '#000000',
normfg = '#ffffff',
normbg = '#000000',
}
return {
'hoob3rt/lualine.nvim',
'nvim-lualine/lualine.nvim',
dependencies = {
{'kyazdani42/nvim-web-devicons', lazy = true },
'nvim-lua/lsp-status.nvim',
'crater2150/vim-theme-chroma',
},
opts = {
event = "VeryLazy",
opts = function(_, opts) return {
options = {
theme = {
normal = {
a = { fg = colors.black, bg = colors.gray },
b = { fg = colors.yellow, bg = colors.lightbggray },
c = { fg = colors.blue, bg = colors.bggray },
z = { fg = colors.yellow, bg = colors.gray },
},
inactive = {
a = { fg = colors.black, bg = colors.gray },
b = { fg = colors.red, bg = colors.lightbggray },
c = { fg = colors.gray, bg = colors.bggray },
z = { fg = colors.blue, bg = colors.gray },
},
insert = { a = { fg = colors.black, bg = colors.green } },
visual = { a = { fg = colors.black, bg = colors.yellow } },
replace = { a = { fg = colors.black, bg = colors.red } },
}
theme = require('chroma-theme.lualine')
},
tabline = {
lualine_a = { 'branch' },
@ -54,7 +21,6 @@ return {
sections = {
lualine_a = { 'filename' },
lualine_b = { 'diff', 'diagnostics' },
lualine_c = {},
lualine_x = { "require'lsp-status'.status()" },
lualine_y = { 'filetype' },
lualine_z = { 'searchcount', 'location' }
@ -71,4 +37,5 @@ return {
inactive_winbar = {},
extensions = {}
}
end,
}