nvim: use built in lualine solarized theme
This commit is contained in:
parent
1ae85b7c62
commit
febe4394ec
|
@ -17,36 +17,22 @@ local colors = {
|
|||
green = '#859900',
|
||||
}
|
||||
|
||||
local theme = {
|
||||
normal = {
|
||||
a = { fg = colors.base03, bg = colors.blue, gui = 'bold' },
|
||||
b = { fg = colors.base1, bg = colors.base02 },
|
||||
c = { fg = colors.base1, bg = colors.base02 },
|
||||
},
|
||||
insert = { a = { fg = colors.base03, bg = colors.green, gui = 'bold' } },
|
||||
visual = { a = { fg = colors.base03, bg = colors.magenta, gui = 'bold' } },
|
||||
replace = { a = { fg = colors.base03, bg = colors.red, gui = 'bold' } },
|
||||
inactive = {
|
||||
a = { fg = colors.base0, bg = colors.base02, gui = 'bold' },
|
||||
b = { fg = colors.base03, bg = colors.base00 },
|
||||
c = { fg = colors.base01, bg = colors.base02 },
|
||||
},
|
||||
}
|
||||
|
||||
require('lualine').setup {
|
||||
options = {
|
||||
theme = theme,
|
||||
theme = 'solarized'
|
||||
},
|
||||
sections = {
|
||||
lualine_b = {
|
||||
'branch',
|
||||
},
|
||||
lualine_c = {
|
||||
{
|
||||
'diagnostics',
|
||||
diagnostics_color = {
|
||||
error = { fg = colors.red, bg=colors.base02, gui='bold'},
|
||||
warn = { fg = colors.yellow, bg=colors.base02, gui='bold'},
|
||||
info = { fg = colors.blue, bg=colors.base02, gui='bold'},
|
||||
hint = { fg = colors.cyan, bg=colors.base02, gui='bold'},
|
||||
error = { fg = colors.red, bg = colors.base02, gui = 'bold' },
|
||||
warn = { fg = colors.yellow, bg = colors.base02, gui = 'bold' },
|
||||
info = { fg = colors.blue, bg = colors.base02, gui = 'bold' },
|
||||
hint = { fg = colors.cyan, bg = colors.base02, gui = 'bold' },
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -61,8 +47,6 @@ require('lualine').setup {
|
|||
'filename',
|
||||
path = 1
|
||||
}
|
||||
},
|
||||
lualine_c = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue