1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-03-19 14:44:46 +01:00

updated neovim to use modern lazy

This commit is contained in:
2026-03-16 02:32:33 +01:00
parent 768a4b0aec
commit 435b829937
63 changed files with 2185 additions and 163 deletions

View File

@@ -0,0 +1,20 @@
return {
-- folding improvements
"kevinhwang91/nvim-ufo",
dependencies = { "kevinhwang91/promise-async" },
config = function()
require("ufo").setup()
vim.api.nvim_create_autocmd({ "BufEnter", "FileType" }, {
pattern = { "*" },
callback = function()
require("ufo").closeAllFolds()
end,
})
vim.api.nvim_create_autocmd({ "BufEnter", "FileType" }, {
pattern = { "*" },
callback = function()
require("ufo").openAllFolds()
end,
})
end,
}