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

Scintillua - merge relevant recent upstream commits #920

Closed
wants to merge 149 commits into from

Conversation

moesasji
Copy link
Contributor

@moesasji moesasji commented Jan 9, 2021

The following commits continues on pull-request #916 that I appear unable to reopen. These three commits bring ansi_c; scheme and the yaml lexers in sync with upstream closing some of the outstanding issues.

btw) the key missing element at the moment is the patch you mentioned here: is the #916 (comment)

martanne and others added 30 commits January 6, 2021 15:34
The upstream revision was 09e0ff07283d62fae5cd3ef6ccc27f31c9360708.
This preserves backward compatibility with existing theme files.
This should fix the coloring of lexers using the new table based style
definitions.
moesasji and others added 26 commits January 6, 2021 15:34
Replaces the current vis version with the more extensive upstream
one. Thanks to @lepotic for spotting the upstream version
inherited from the lua lexer.
Importing upstream version, without merging the changes introduced
by commit cb41e7e In part as that
commit introduces extensive changes for which the purpose is not
clear to me from the commit message or changes.
Upstream already contains commit 657ab2e and list already high in rule list so
d8ab659 is also superseded. However martanne#823
appears to resurface as syntax highlighting in code blocks fails.
This version works as expected on PHP comments. Vis commit 0ff02a7 to
fix bug martanne#659 is no longer needed. It also adds new constants and keywords
of commit 3232697 and c88474f.
This merges commit 79859b5 that fixes performance. Note that the
commit highlights a TODO: keys should only be highlighted in {} mappings.
This adds commit 7e9e0a2 The new pattern does more or less the same
thing, but forward instead of backward to speed it up.
This merges commit bb6de70 and commit 4af29a0 on top of new upstream style.
The motivation to remove indent errors is that based one toml examples can
contain both spaces and tabs.
Adds commit 807ba6f in new format. Otherwise, show-{tabs,newlines,spaces}
replacement characters are undistinguishable from normal text.
This version allows {} to be nested in shell variables allowing a lines like

: ${FOO:="${bar}/baz"}

to be highlighted correctly. This supersedes commit 21727ae
This updates the readme for moving to the non-legacy lexer format.
Changes made:

1) fixed links to upstream documentation and source.
2) added links to color-templates.
3) bumped LPeg dependency to 1.0.0 or higher as stated by upstream.
This refractors the legacy yaml lexer and includes the fix added in
commit 89896da as stated in the following upstream comment: orbitalquark/scintillua@8829edb
This update includes an upstream refactor of the ansi_c lexer that
incorporates the majority of fixes introduced by commit 1e9eb86 and
hence supersedes it.
This adds a refactored scheme lexer that incorporates the vis patch introduced
in commit 6455498
Upstream has removed the vbscript lexer in favor of the vb lexer as both
are identical. See upstream commit dee7d76
@martanne martanne force-pushed the scintillua branch 2 times, most recently from f2b469c to 7574a46 Compare January 27, 2021 08:46
@martanne
Copy link
Owner

I rebased once again and merged the latest upstream changes. There were quite a few annoying style changes. I hope that I didn't mess it up? I also summarized the current state in the corresponding issue.

Thanks.

@martanne martanne closed this Jan 27, 2021
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.

2 participants