From 018cb2a0dab5f6d87befa7f2faf75812e832316c Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Fri, 19 Jan 2024 00:14:26 -0500 Subject: [PATCH] undotree --- configs/nvim/lua/lazy-plugins.lua | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/configs/nvim/lua/lazy-plugins.lua b/configs/nvim/lua/lazy-plugins.lua index bceffca..cff6799 100644 --- a/configs/nvim/lua/lazy-plugins.lua +++ b/configs/nvim/lua/lazy-plugins.lua @@ -21,11 +21,9 @@ require('lazy').setup({ 'neovim/nvim-lspconfig', dependencies = { -- Automatically install LSPs to stdpath for neovim - { 'williamboman/mason.nvim', config = true, - dependencies = { - "WhoIsSethDaniel/mason-tool-installer.nvim", - }, - }, + { 'williamboman/mason.nvim', config = true, dependencies = { + 'WhoIsSethDaniel/mason-tool-installer.nvim', + } }, 'williamboman/mason-lspconfig.nvim', -- Useful status updates for LSP @@ -37,6 +35,14 @@ require('lazy').setup({ }, }, + --UndoTree + { + 'mbbill/undotree', + init = function() + vim.keymap.set('n', 'u', 'UndotreeToggle', { desc = 'UndotreeToggle' }) + end, + }, + { -- Autocompletion 'hrsh7th/nvim-cmp',