sudo pacman -Syu 2023-09-05 21:41:08 +07:00
parent b8ffa7bf18
commit 2bf6b6e3b4
1 changed files with 10 additions and 0 deletions

View File

@ -408,6 +408,16 @@ require("lazy").setup({
"yaml", "yaml",
}, },
}) })
-- Workaround to update fold
-- https://github.com/nvim-treesitter/nvim-treesitter/issues/1337
-- https://www.jmaguire.tech/posts/treesitter_folding/
local augroup = vim.api.nvim_create_augroup("UserTreesitterConfig", {})
vim.api.nvim_create_autocmd("BufEnter", {
group = augroup,
pattern = "*",
command = "normal zR",
})
end, end,
}, },