refactor: restructure init.lua to use lazy plugin manager and add lsp configurations

This commit is contained in:
sankalp committed 2025-09-12 16:05:40 +05:45
1 parent d685e0e553
commit 84f2be62ae
119 files changed
+2201 -18000

No files matched your search

+63
View File
@@ -0,0 +1,63 @@
return {
-- git signs
{
"lewis6991/gitsigns.nvim",
opts = {
signs = {
add = {
text = "+",
},
change = {
text = "▎",
},
delete = {
text = "",
},
topdelete = {
text = "▾",
},
changedelete = {
text = "~",
},
untracked = {
text = "┆",
},
},
signs_staged = {
add = {
text = "+",
},
change = {
text = "▎",
},
delete = {
text = "",
},
topdelete = {
text = "▾",
},
changedelete = {
text = "~",
},
},
},
},
-- lazygit integration
{
"kdheepak/lazygit.nvim",
lazy = true,
enabled = false,
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
keys = {
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" },
},
},
}