[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,64 +1,69 @@
local colors = { return {
blue = '#80a0ff', {
cyan = '#79dac8', 'nvim-lualine/lualine.nvim',
black = '#080808', opts = function()
white = '#c6c6c6', -- Colors and theme setup
red = '#ff5189', local colors = {
violet = '#d183e8', blue = '#80a0ff',
grey = '#303030', cyan = '#79dac8',
} black = '#080808',
white = '#c6c6c6',
local bubbles_theme = { red = '#ff5189',
normal = { violet = '#d183e8',
a = { fg = colors.black, bg = colors.violet }, grey = '#303030',
b = { fg = colors.white, bg = colors.grey }, }
c = { fg = colors.white },
}, local bubbles_theme = {
normal = {
insert = { a = { fg = colors.black, bg = colors.blue } }, a = { fg = colors.black, bg = colors.violet },
visual = { a = { fg = colors.black, bg = colors.cyan } }, b = { fg = colors.white, bg = colors.grey },
replace = { a = { fg = colors.black, bg = colors.red } }, c = { fg = colors.white },
},
inactive = { insert = { a = { fg = colors.black, bg = colors.blue } },
a = { fg = colors.white, bg = colors.black }, visual = { a = { fg = colors.black, bg = colors.cyan } },
b = { fg = colors.white, bg = colors.black }, replace = { a = { fg = colors.black, bg = colors.red } },
c = { fg = colors.white }, inactive = {
}, a = { fg = colors.white, bg = colors.black },
} b = { fg = colors.white, bg = colors.black },
c = { fg = colors.white },
require('lualine').setup { },
options = { }
theme = bubbles_theme,
component_separators = '', return {
section_separators = { left = '', right = '' }, options = {
}, theme = bubbles_theme,
sections = { component_separators = '',
lualine_a = { { 'mode', separator = { left = '' }, right_padding = 2 } }, section_separators = { left = '', right = '' },
lualine_b = { 'branch', 'diagnostics' }, },
lualine_c = { sections = {
'%=', {'filename', path = 1} lualine_a = { { 'mode', separator = { left = '' }, right_padding = 2 } },
}, lualine_b = { 'branch', 'diagnostics' },
lualine_c = {
lualine_x = {}, '%=', { 'filename', path = 1 }
lualine_y = { },
{ lualine_x = {},
'diff', lualine_y = {
colored = true, {
symbols = {added = '', modified = '✏️ ', removed = '' } 'diff',
}, colored = true,
'encoding', 'filetype', 'progress' }, symbols = { added = '', modified = '✏️ ', removed = '' }
lualine_z = { },
{ 'location', separator = { right = '' }, left_padding = 2 }, 'encoding', 'filetype', 'progress' },
}, lualine_z = {
}, { 'location', separator = { right = '' }, left_padding = 2 },
inactive_sections = { },
lualine_a = { 'filename' }, },
lualine_b = {}, inactive_sections = {
lualine_c = {}, lualine_a = { 'filename' },
lualine_x = {}, lualine_b = {},
lualine_y = {}, lualine_c = {},
lualine_z = { 'location' }, lualine_x = {},
}, lualine_y = {},
tabline = {}, lualine_z = { 'location' },
extensions = {}, },
tabline = {},
extensions = {},
}
end
}
} }