Pink pepper gin is a syntax highlighter for the python config manager gin.
Disclaimer: This is by no means an official package and there is no roadmap
for bug fixing. But I'll try my best to address issues if you find any. Please
create an issue in the github repo if you find a bug or have a feature request.
Supports basic gin config syntax:
python style module imports
python style comments
macros (both using % and @) including inside brackets and/or as a
@references within a dict spread over multiple lines don't get detected.
If you find any other issue, head out to the github repo and
create an issue there. Also feel free to create a pull request with a fix ;)
Fix None not highlighting.
Fix scoped % macros only highlighting first part of the macro.
Fix problem with multiple succesive strings where they would all be merged
Fix issue where a % macro would be interpreted as a @ macro when a comma would
be added after it.
Revamp grammar, getting read of python bindings
Add support for multiline lists and tuples
Support spaces after parathesis and other brakets
color modules in imports
dict support including multiline ones
Support for lists and tuples of %macros.
Add support for include statements.
Fix scopes with @ references.
Fix failing @ references recognition when a . exists un the name
(typically for @module.Object style references).
Same as 0.0.2 and 0.1.0. Just a hickup in versioning with vsce
Add support more several @ references in a comma separated list.
Fix bug where putting an @ reference in brackets or square brackets would
break the tokenizer.