Hi Very sorry for the late response. Thanks a lot for taking time to look at this. After seeing your comments, I did explore it a little. The problem was I manually activated snakemake-mode and while doing so I lost the orgstruct mode (I assume), which is the reason why it didn't work for me. Now when I added the add-to-list in my configuration file for snakemake-mode. Now when I open the snakemake file i get both modes active and the folding works!! Thanks for your help. -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kyleam/snakemake-mode/issues/27#issuecomment-375780181