Timeline for Folding slow with vimtex

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
May 21 '20 at 6:12 comment added Karl Yngve Lervåg I suggest that you do not use markers for folding tex files, especially if you work together with others, as it makes a lot of unnecessary noise. IMHO, folding in vimtex should be fast enough. I also suggest using vim-FastFold, which is a general purpose and better implementation of the mechanisms provided by g:vimtex_fold_manual.
May 20 '20 at 20:03 comment added Mahbub Alam You can try using foldmethod=marker. Of course, then you'd have to use a foldmarker (e.g. {{{,}}} or F{O{L{D,F}O}L}D) in tex documents, but it does make it faster.
Aug 8 '17 at 0:05 comment added Astrid This worked out of the box for me. Very nice!
Feb 10 '16 at 8:29 comment added Karl Yngve Lervåg You can use standard foldtext with set foldtext=, which should show line numbers. Also, I personally don't have any problems with long load times that I've noticed. You could consider to open an issue and explain the problem and how to reproduce.
Feb 9 '16 at 20:54 comment added Toothrot sorry, I saw it but didn't understand it. I still have two problems with the package, though (for which thanks): first, that it doesn't show the number of lines in a fold, which I find useful; and secondly that using it it takes quite long to load a file. for these reasons I'll stick to markers, which I discovered today.
Feb 9 '16 at 20:20 history answered Karl Yngve Lervåg CC BY-SA 3.0