[UPDATED] stop inti error in lualine

This commit is contained in:
Daveanand Mannie
2024-10-26 14:26:41 -04:00
parent 2e938125ed
commit 44ab2631c0

View File

@@ -1,3 +1,8 @@
return {
{
'nvim-lualine/lualine.nvim',
opts = function()
-- Colors and theme setup
local colors = {
blue = '#80a0ff',
cyan = '#79dac8',
@@ -14,11 +19,9 @@ local bubbles_theme = {
b = { fg = colors.white, bg = colors.grey },
c = { fg = colors.white },
},
insert = { a = { fg = colors.black, bg = colors.blue } },
visual = { a = { fg = colors.black, bg = colors.cyan } },
replace = { a = { fg = colors.black, bg = colors.red } },
inactive = {
a = { fg = colors.white, bg = colors.black },
b = { fg = colors.white, bg = colors.black },
@@ -26,7 +29,7 @@ local bubbles_theme = {
},
}
require('lualine').setup {
return {
options = {
theme = bubbles_theme,
component_separators = '',
@@ -38,7 +41,6 @@ require('lualine').setup {
lualine_c = {
'%=', { 'filename', path = 1 }
},
lualine_x = {},
lualine_y = {
{
@@ -62,3 +64,6 @@ require('lualine').setup {
tabline = {},
extensions = {},
}
end
}
}