I am trying to find out when VIM foldexpr reevaluated.
In my case, I have set foldexpr=MySpecialFunction(v:lnum) , and it seems to me that MySpecialFunction is called only when the buffer is opened or when the line closing the fold is deleted.
Intuitively, I would suggest that I can trigger a reevaluation using ctrl-l , but that is not the case.
What it's worth: my version of VIM is 7.3
source share