refactor: restructure init.lua to use lazy plugin manager and add lsp configurations
This commit is contained in:
119 files changed
+2201
-18000
No files matched your search
@@ -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" },
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user