diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-11-06 22:26:37 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-11-06 22:26:37 +0200 |
| commit | 124233b87a8de6f21580887a521213105b41ccf7 (patch) | |
| tree | b50e3a4b70dbef329f639b171dacb6611e2fa95c | |
| parent | 11557caed736a0b688c00244268690c53d9fddf3 (diff) | |
Changed gitsigns to not load on VeryLazy bcz it caused some issues,
seemed to be resolved with BufReadPre/BufNewFile
| -rw-r--r-- | .config/nvim/lua/custom/plugins/gitsigns.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/nvim/lua/custom/plugins/gitsigns.lua b/.config/nvim/lua/custom/plugins/gitsigns.lua index 3d16f32..fd29d31 100644 --- a/.config/nvim/lua/custom/plugins/gitsigns.lua +++ b/.config/nvim/lua/custom/plugins/gitsigns.lua @@ -1,7 +1,9 @@ return { 'lewis6991/gitsigns.nvim', cmd = 'Gitsigns', - event = 'VeryLazy', + -- INFO: lazy loading seems to have some issues so I am trying to load it on buffer load + -- event = 'VeryLazy', + event = { 'BufReadPre', 'BufNewFile'}, config = function() require('gitsigns').setup() |
