updated lualine and made lspconfig work in insertmode

This commit is contained in:
pr0c3550r 2023-02-25 15:49:23 +01:00
parent adea7d7f0e
commit 8112669f3d
2 changed files with 10 additions and 5 deletions

View file

@ -59,7 +59,8 @@ return {
float = { border = border }, float = { border = border },
virtual_text = { virtual_text = {
prefix = '', -- Could be '●', '■', 'x', '▎' prefix = '', -- Could be '●', '■', 'x', '▎'
} },
update_in_insert = true
}) })

View file

@ -27,14 +27,17 @@ return {
lualine_c = { lualine_c = {
{ {
'filename', 'filename',
color={gui='italic', fg='#266b79', bg='#1d2021'}, color={gui='italic', fg='#d3869b', bg='#1d2021'},
path = 3, path = 1,
} }
}, },
lualine_x = { lualine_x = {
{ {
'filetype', 'filetype',
color={bg='#1d2021', fg='266b79', gui='italic'}, color={bg='#1d2021', fg='#d4be98', gui='italic'},
fmt = function (str)
return (str:gsub("^%l", string.upper))
end,
} }
}, },
lualine_y = { lualine_y = {
@ -42,7 +45,8 @@ return {
'diagnostics', 'diagnostics',
color={gui='bold', bg='#141617'}, color={gui='bold', bg='#141617'},
sections = { 'error', 'warn', 'info', 'hint' }, sections = { 'error', 'warn', 'info', 'hint' },
symbols = { error = "", warn = "", info = "", hint = "󰌶 " } symbols = { error = "", warn = "", info = "", hint = "󰌶 " },
update_in_insert = true
}, },
{ {