feat(update): update

This commit is contained in:
darwincereska
2025-12-01 15:17:21 -05:00
parent fd83a29f1e
commit de8c6245ec
31 changed files with 13 additions and 13 deletions

28
lua/plugins/ui-ufo.lua Normal file
View File

@@ -0,0 +1,28 @@
return {
"kevinhwang91/nvim-ufo",
dependencies = "kevinhwang91/promise-async",
lazy = false,
config = function()
-- Basic fold UI
vim.o.foldcolumn = '1'
vim.o.foldlevel = 99
vim.o.foldlevelstart = 99
vim.o.foldenable = true
-- Triangles for folds
vim.opt.fillchars = {
foldopen = "",
foldclose = "",
foldsep = " ",
}
require("ufo").setup({
provider_selector = function(bufnr, filetype, buftype)
if filetype == "markdown" then
return { "treesitter", "indent" }
end
return { "lsp", "indent" }
end,
})
end
}