ColdFusion icon indicating copy to clipboard operation
ColdFusion copied to clipboard

Syntax highlighting depends on semicolons, would be nice if they were optional

Open neoneo opened this issue 10 years ago • 2 comments

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. nosemicolons

neoneo avatar Oct 20 '13 19:10 neoneo

This one requires a lot of changes, but I'll keep this open in case someone wants to work on it.

atomi avatar Oct 21 '13 18:10 atomi

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?

neoneo avatar Oct 22 '13 08:10 neoneo