From ffb269393ceabc3b8afb6198588f5225b7d6560b Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Mon, 29 Jun 2026 11:02:39 +0200 Subject: lazy.nvim: config() und Optionen getrennt --- nvim/lua/plugins/git.lua | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'nvim/lua/plugins/git.lua') diff --git a/nvim/lua/plugins/git.lua b/nvim/lua/plugins/git.lua index 94032c7..ed7bafe 100644 --- a/nvim/lua/plugins/git.lua +++ b/nvim/lua/plugins/git.lua @@ -2,13 +2,14 @@ return { { "lewis6991/gitsigns.nvim", event = { "BufReadPre", "BufNewFile" }, - config = function() - require("gitsigns").setup({ - current_line_blame = true, - current_line_blame_opts = { - delay = 250, - }, - }) + opts = { + current_line_blame = true, + current_line_blame_opts = { + delay = 250, + }, + }, + config = function(_, opts) + require("gitsigns").setup(opts) require("config.keymaps").gitsigns() end, }, -- cgit v1.3