I am currently using the HTML grammar, so that's not the issue. The problem I am trying to solve is that code-folding does not work for the alternate syntax (Alternate syntax for control structures, such as if-else, switch, foreach, etc.). Right now, I can only get the code folding to work if I use the curly brace syntax.