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

Update syntax highlighting #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dkearns
Copy link

@dkearns dkearns commented Apr 19, 2016

Here's a reasonably significant update to the Eiffel syntax highlighting file.

It adds support for what I believe to be the current state of both ES Eiffel and Liberty Eiffel.

I've generally dropped support for clearly obsolete syntax and checked that the current releases are supported but there might be a few outlying cases I've missed. If you'd like I could add support for the obsolete features behind a flag otherwise highlighting them as errors.

I've also started to add folding support based on the 'syntax' method.

The file defaults to supporting ES syntax with Liberty available when the eiffel_liberty variable is set.
It seems to me that the syntax is not different enough to warrant breaking the files up to support the two dialects separately but I could do that if you'd prefer.

My understanding is that with a few major well known exceptions that Liberty intends to move in the direction of supporting ECMA where possible and they even appear to have a GSOC proposal for this work. So hopefully the syntax differences will decrease with time.

Finally, if you'd like to keep a more lightweight approach based on the current file that's no problem. I'd be happy to maintain this separately.

Fixes issue #2

dkearns added 3 commits April 20, 2016 07:50
Support modern features and drop support for obsolete syntax.

Add folding support to class-level clauses, feature declarations,
strings and comments.

Add support for Liberty Eiffel with the eiffel_liberty config variable.
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

Successfully merging this pull request may close these issues.

1 participant