Update: Restructured plugin folders

This commit is contained in:
psychhim
2025-10-11 10:43:47 +05:30
parent 1bad1cafab
commit 3651b2d268
6 changed files with 5 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
-- lua/custom/plugins/undotree.lua
return {
'mbbill/undotree',
keys = {
{ '<leader>u', vim.cmd.UndotreeToggle, desc = 'Toggle UndoTree' },
},
config = function()
-- Optional settings
vim.g.undotree_WindowLayout = 2 -- vertical split
vim.g.undotree_SplitWidth = 30 -- width of undo tree window
vim.g.undotree_SetFocusWhenToggle = 1
vim.g.undotree_EnableDiff = 1
end,
}