From ca00a11872360b06264d96a2dabe009ad4752475 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 7 Nov 2024 01:12:08 +0200 Subject: [PATCH] Changed gitsigns to not lazy load at all to see if it fixes errors --- .config/nvim/lua/custom/plugins/gitsigns.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/nvim/lua/custom/plugins/gitsigns.lua b/.config/nvim/lua/custom/plugins/gitsigns.lua index fd29d31..953cd80 100644 --- a/.config/nvim/lua/custom/plugins/gitsigns.lua +++ b/.config/nvim/lua/custom/plugins/gitsigns.lua @@ -1,9 +1,9 @@ return { 'lewis6991/gitsigns.nvim', cmd = 'Gitsigns', - -- INFO: lazy loading seems to have some issues so I am trying to load it on buffer load - -- event = 'VeryLazy', - event = { 'BufReadPre', 'BufNewFile'}, + -- INFO: Disabled lazy loading to see if the errors stop + -- Not sure if it's an issue with lazy loading or just a gitsigns bug + lazy = false, config = function() require('gitsigns').setup()