[UPDATED] stop inti error in lualine
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
'nvim-lualine/lualine.nvim',
|
||||||
|
opts = function()
|
||||||
|
-- Colors and theme setup
|
||||||
local colors = {
|
local colors = {
|
||||||
blue = '#80a0ff',
|
blue = '#80a0ff',
|
||||||
cyan = '#79dac8',
|
cyan = '#79dac8',
|
||||||
@@ -14,11 +19,9 @@ local bubbles_theme = {
|
|||||||
b = { fg = colors.white, bg = colors.grey },
|
b = { fg = colors.white, bg = colors.grey },
|
||||||
c = { fg = colors.white },
|
c = { fg = colors.white },
|
||||||
},
|
},
|
||||||
|
|
||||||
insert = { a = { fg = colors.black, bg = colors.blue } },
|
insert = { a = { fg = colors.black, bg = colors.blue } },
|
||||||
visual = { a = { fg = colors.black, bg = colors.cyan } },
|
visual = { a = { fg = colors.black, bg = colors.cyan } },
|
||||||
replace = { a = { fg = colors.black, bg = colors.red } },
|
replace = { a = { fg = colors.black, bg = colors.red } },
|
||||||
|
|
||||||
inactive = {
|
inactive = {
|
||||||
a = { fg = colors.white, bg = colors.black },
|
a = { fg = colors.white, bg = colors.black },
|
||||||
b = { 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 = {
|
options = {
|
||||||
theme = bubbles_theme,
|
theme = bubbles_theme,
|
||||||
component_separators = '',
|
component_separators = '',
|
||||||
@@ -38,7 +41,6 @@ require('lualine').setup {
|
|||||||
lualine_c = {
|
lualine_c = {
|
||||||
'%=', { 'filename', path = 1 }
|
'%=', { 'filename', path = 1 }
|
||||||
},
|
},
|
||||||
|
|
||||||
lualine_x = {},
|
lualine_x = {},
|
||||||
lualine_y = {
|
lualine_y = {
|
||||||
{
|
{
|
||||||
@@ -62,3 +64,6 @@ require('lualine').setup {
|
|||||||
tabline = {},
|
tabline = {},
|
||||||
extensions = {},
|
extensions = {},
|
||||||
}
|
}
|
||||||
|
end
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user