setup ufo
This commit is contained in:
parent
df7988e8dd
commit
6f9391fe56
12
lua/config/ufo.lua
Normal file
12
lua/config/ufo.lua
Normal 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
|
||||
}
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user