refactor: implement modular plugin structure

This commit is contained in:
Nikhil 2025-08-19 00:59:57 +05:30
parent ede41b38f0
commit af74dce5b9
17 changed files with 1853 additions and 1204 deletions

View file

@ -0,0 +1,19 @@
--[plugins/git.lua]
return {
{ -- Adds git related signs to the gutter, as well as utilities for managing changes
'lewis6991/gitsigns.nvim',
opts = {
signs = {
add = { text = '+' },
change = { text = '~' },
delete = { text = '_' },
topdelete = { text = '' },
changedelete = { text = '~' },
},
},
},
-- This loads the keymaps from the separate gitsigns.lua file
require('plugins.gitsigns'),
}