From 57f428f4ad9219964aab7e9e764dcea3997a6eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Thu, 11 Nov 2021 21:52:05 +0100 Subject: [PATCH] Fix to accomodate Feline API change --- .../automatrop/roles/vim/templates/plugins/feline.j2 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/config/automatrop/roles/vim/templates/plugins/feline.j2 b/config/automatrop/roles/vim/templates/plugins/feline.j2 index 33c3dc8..58799e8 100644 --- a/config/automatrop/roles/vim/templates/plugins/feline.j2 +++ b/config/automatrop/roles/vim/templates/plugins/feline.j2 @@ -28,8 +28,8 @@ require('feline').setup({ base0F = base16_colors.base0F, }, components = { - left = { - active = { + active = { + { { provider = function() return string.format(' %d ', vim.fn.line('$')) end, -- If you can, make it depend on the actual bar size @@ -95,10 +95,8 @@ require('feline').setup({ provider='', hl = { bg = 'base01', fg = 'base02' }, }, - } - }, - right = { - active = { + }, + { { provider='', hl = { bg = 'base03', fg = 'base01', },