1
0

setup ufo

This commit is contained in:
Rokas Puzonas 2023-05-11 17:31:02 +03:00
parent df7988e8dd
commit 6f9391fe56
2 changed files with 13 additions and 0 deletions

12
lua/config/ufo.lua Normal file
View File

@ -0,0 +1,12 @@
return {
"kevinhwang91/nvim-ufo",
requires = {"kevinhwang91/promise-async", "nvim-treesitter/nvim-treesitter"},
config = function ()
require("ufo").setup({
provider_selector = function(bufnr, filetype, buftype)
return {"treesitter", "indent"}
end
})
vim.highlight.link("UfoFoldedBg", "ColorColumn")
end
}

View File

@ -32,6 +32,7 @@ return function(use)
use_config "ts-playground"
use_config "diffview"
use_config "git-conflict"
use_config "ufo"
use {
"nvim-telescope/telescope.nvim",