Fix to accomodate Feline API change

This commit is contained in:
Geoffrey Frogeye 2021-11-11 21:52:05 +01:00
parent e4502a30c5
commit 57f428f4ad

View file

@ -28,8 +28,8 @@ require('feline').setup({
base0F = base16_colors.base0F, base0F = base16_colors.base0F,
}, },
components = { components = {
left = { active = {
active = { {
{ {
provider = function() return string.format(' %d ', vim.fn.line('$')) end, provider = function() return string.format(' %d ', vim.fn.line('$')) end,
-- If you can, make it depend on the actual bar size -- If you can, make it depend on the actual bar size
@ -95,10 +95,8 @@ require('feline').setup({
provider='', provider='',
hl = { bg = 'base01', fg = 'base02' }, hl = { bg = 'base01', fg = 'base02' },
}, },
} },
}, {
right = {
active = {
{ {
provider='', provider='',
hl = { bg = 'base03', fg = 'base01', }, hl = { bg = 'base03', fg = 'base01', },