From 478d5803bc25ea6ae2e6c8a451099345cf957654 Mon Sep 17 00:00:00 2001 From: kalmenn Date: Thu, 21 Dec 2023 12:37:11 +0100 Subject: [PATCH] feline + gisigns: cleaned up dependencies management --- lua/plugins/feline.lua | 3 +++ lua/plugins/gitsigns.lua | 14 ++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/lua/plugins/feline.lua b/lua/plugins/feline.lua index d751b23..cdee8d0 100644 --- a/lua/plugins/feline.lua +++ b/lua/plugins/feline.lua @@ -1,5 +1,8 @@ return { 'freddiehaddad/feline.nvim', + dependencies = { + "lewis6991/gitsigns.nvim", + }, lazy = false, config = function(_, opts) require('feline').setup() diff --git a/lua/plugins/gitsigns.lua b/lua/plugins/gitsigns.lua index 3adbda8..0e5c0f5 100644 --- a/lua/plugins/gitsigns.lua +++ b/lua/plugins/gitsigns.lua @@ -1,11 +1,9 @@ return { "lewis6991/gitsigns.nvim", - config = function() - require("gitsigns").setup({ - current_line_blame = true, - yadm = { - enable = true, - }, - }) - end + opts = { + current_line_blame = true, + yadm = { + enable = true, + }, + }, }