Thank you for your answer, very useful. I found the issue: in my .vimrc I have:
set foldenable set foldmethod=syntax Try that and you will see how long it takes. I have no issue with C++ code, why would it be so much longer with lilypond language? Frédéric _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user