diff --git a/lua/plugins/common.lua b/lua/plugins/common.lua index b8863e1..793767b 100644 --- a/lua/plugins/common.lua +++ b/lua/plugins/common.lua @@ -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 = { + { 'u', "lua require('undotree').toggle()", desc = 'Undotree' }, + }, + }, { 'folke/which-key.nvim', event = 'VeryLazy',