refactor: implement modular plugin structure
This commit is contained in:
parent
ede41b38f0
commit
af74dce5b9
17 changed files with 1853 additions and 1204 deletions
19
lua/custom/plugins/git.lua
Normal file
19
lua/custom/plugins/git.lua
Normal 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'),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue