Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
neoneo opened this issue Oct 20, 2013 · 2 comments

Comments

@neoneo
Copy link

neoneo commented Oct 20, 2013

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

@atomi
Copy link
Contributor

atomi commented Oct 21, 2013

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

@neoneo
Copy link
Author

neoneo commented Oct 22, 2013

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants