Add a couple of plugins to nvim

This commit is contained in:
Alexander Navarro 2024-03-22 10:46:03 -03:00
parent 2a980b26a8
commit 7b46aae1a1
12 changed files with 163 additions and 28 deletions

View file

@ -1,7 +1,17 @@
return {
-- Detect tabstop and shiftwidth automatically
"tpope/vim-sleuth",
{
"mbbill/undotree",
config = function()
vim.g.undotree_WindowLayout = 2
vim.g.undotree_ShortIndicators = 1
vim.g.undotree_SetFocusWhenToggle = 1
end,
keys = {
{ "<leader>fu", vim.cmd.UndotreeToggle, desc = "Undo tree" },
},
},
{
-- Highlight word under cursor
"RRethy/vim-illuminate",