-
I am using vim.api.nvim_create_autocmd("FileType", {
pattern = { "snacks_dashboard" },
callback = function()
require("ufo").detach()
vim.opt_local.foldenable = false
vim.wo.foldenable = false
end,
}) |
Beta Was this translation helpful? Give feedback.
Answered by
folke
Dec 16, 2024
Replies: 1 comment 1 reply
-
Folding is already disabled on the dashboard, so it seems nvim-ufo enables it anyway |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
devswi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Folding is already disabled on the dashboard, so it seems nvim-ufo enables it anyway