Vim: How to keep folds on save?
<p>In my current vim setup I have <code>set foldmethod=syntax</code> , however whenever I save my file it refolds anything I had opened. Any ideas? </p>

<p>FWIW this is my current <a href="https://github.com/MaerF0x0/VimSetup/blob/2c63af1c4c7aad22c0ecac5e653c474a1fb81d36/vimrc" rel="noreferrer">vimrc</a></p>