79308927

Date: 2024-12-26 07:35:06
Score: 2
Natty:
Report link

When opening big files, there is a considerable delay when using this:

vim.opt.foldexpr = "nvim_treesitter#foldexpr()"

Fix:

vim.opt.foldexpr = "v:lua.vim.treesitter.foldexpr()"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Felix