Neovim/lua/plugins/nvim-ufo.lua

26 lines
630 B
Lua
Raw Normal View History

2023-11-17 11:24:21 +00:00
return {
{
"kevinhwang91/nvim-ufo",
event = {
"InsertEnter"
},
dependencies = {
"kevinhwang91/promise-async"
},
opts = {
preview = {
mappings = {
scrollB = "<C-b>",
scrollF = "<C-f>",
scrollU = "<C-u>",
scrollD = "<C-d>",
},
},
-- register treesitter as source for scopes
2024-01-02 22:44:49 +00:00
provider_selector = function(_, _, _)
return { 'treesitter', 'indent' }
2023-11-17 11:24:21 +00:00
end
}
}
}