feat(working): first working condition

This commit is contained in:
darwincereska
2025-11-19 08:59:51 -05:00
parent 5a5c81eb60
commit c86f52f5fb
31 changed files with 789 additions and 283 deletions

View File

@@ -3,6 +3,26 @@ return {
dependencies = "kevinhwang91/promise-async",
lazy = false,
config = function()
require("config.plugin.ufo")
-- 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
}