add substitue and undotree plugin

This commit is contained in:
Thomas Ruoff
2024-09-16 08:15:35 +02:00
parent 2618d6d6ae
commit b1eade08dd

View File

@@ -1,8 +1,9 @@
return {
{ 'numToStr/Comment.nvim', opts = {} },
{ 'tpope/vim-sleuth' },
{ 'tpope/vim-abolish', lazy = false },
{ 'tpope/vim-sleuth' }, -- detect shiftwidth, expandtab heristically
{ 'tpope/vim-unimpaired', lazy = false },
-- { 'tpope/vim-abolish', lazy = false },
-- { 'gbprod/substitute.nvim', opts = {} }, not sure if usefull
{ 'lukas-reineke/indent-blankline.nvim', main = 'ibl', opts = {} },
{
'folke/todo-comments.nvim',
@@ -31,6 +32,14 @@ return {
-- require('mini.colors').setup()
end,
},
{
'jiaoshijie/undotree',
dependencies = 'nvim-lua/plenary.nvim',
config = true,
keys = {
{ '<leader>u', "<cmd>lua require('undotree').toggle()<cr>", desc = 'Undotree' },
},
},
{
'folke/which-key.nvim',
event = 'VeryLazy',