ColdFusion
ColdFusion copied to clipboard
Syntax highlighting depends on semicolons, would be nice if they were optional
In Railo cfscript semicolons are optional. ST currently needs them for correctly highlighting syntax. I know probably not many people leave out the semicolons but I like to do that if I know my work is Railo only. Since semicolons are optional in most script languages, cfscript might follow suit in this respect in the future anyway.
This one requires a lot of changes, but I'll keep this open in case someone wants to work on it.
I discovered that the package actually does the job quite well already. The main (only?) issue is with return statements: if there is one (at the end of the function body), you get the wrong coloring. Without a return, all is well. Does this make it easier to tackle?