my neovim config, who would've thought

feat: use native undotree

olexsmir.xyz dc0e9144 105849d1

verified
Changed files
+2 -11
lua
plugins
+2
init.lua
··· 8 8 if vim.fn.has "nvim-0.12" == 1 then 9 9 require("vim._extui").enable { enable = true } 10 10 vim.opt.diffopt:append "inline:word" 11 + vim.cmd.packadd "nvim.undotree" 12 + require("core.utils").map("n", "<leader>u", vim.cmd.Undotree) 11 13 end
-1
lazy-lock.json
··· 22 22 "snacks.nvim": { "branch": "main", "commit": "da230e3ca8146da4b73752daaf0a1d07d343c12d" }, 23 23 "todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" }, 24 24 "tokyonight.nvim": { "branch": "main", "commit": "4d159616aee17796c2c94d2f5f87d2ee1a3f67c7" }, 25 - "undotree": { "branch": "master", "commit": "fe9a9d0645f0f5532360b5e5f5c550d7bb4f1869" }, 26 25 "vim-repeat": { "branch": "master", "commit": "8106e142dfdc278ff3eaaadd7b362ad7949d4357" }, 27 26 "vim-speeddating": { "branch": "master", "commit": "426c792e479f6e1650a6996c683943a09344c21e" }, 28 27 "vim-surround": { "branch": "master", "commit": "aeb933272e72617f7c4d35e1f003be16836b948d" },
-10
lua/plugins/navigation.lua
··· 1 1 ---@type LazySpec 2 2 return { 3 3 { 4 - "mbbill/undotree", 5 - cmd = "UndotreeToggle", 6 - keys = { { "<leader>u", vim.cmd.UndotreeToggle } }, 7 - init = function() 8 - vim.g.undotree_DiffAutoOpen = 0 9 - vim.g.undotree_WindowLayout = 3 10 - end, 11 - }, 12 - 13 - { 14 4 "stevearc/oil.nvim", 15 5 event = "VeryLazy", 16 6 cmd = "Oil",