problem with folding in dashboard #220
Answered
by
folke
Tornado300
asked this question in
Q&A
-
hey I'm quite new to snacks and i have a problem: i tried to fix it with an autocmd: vim.api.nvim_create_autocmd({"FileType"}, {
pattern = {"snacks_dashboard"},
callback = function()
vim.opt_local.foldmethod = "manual"
vim.cmd("normal! zR") -- Open all folds
end,
}) but that didn't work. How can i fix this problem or is it not possible ? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
folke
Dec 8, 2024
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Tornado300
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
opts.styles.dashboard.wo.foldmethod = "manual"
For now, set the option above. I already fixed it on a different branch.