Fix to foldmethod so that they will not collapse when entering insert mode