summaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
authorNaz <ndpm13@ch-naseem.com>2025-02-08 12:08:16 +0100
committerNaz <ndpm13@ch-naseem.com>2025-02-08 12:08:16 +0100
commitf691131635782c53ab1f3bebd12a793906e73ba5 (patch)
treee09b137ff2e0b1f98a540ddf40347a06b3249ea5 /lua/plugins
parente11b004562d47af7fed6b337a05d829d1a7e3655 (diff)
✨feat: add kevinhwang91/nvim-ufo plugin
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/ufo.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/lua/plugins/ufo.lua b/lua/plugins/ufo.lua
new file mode 100644
index 0000000..71af4d3
--- /dev/null
+++ b/lua/plugins/ufo.lua
@@ -0,0 +1,12 @@
+return {
+ "kevinhwang91/nvim-ufo",
+ dependencies = { "kevinhwang91/promise-async" },
+
+ config = function()
+ require("ufo").setup({
+ provider_selector = function(bufnr, filetype, buftype)
+ return { "treesitter", "indent" }
+ end,
+ })
+ end,
+}