Skip to content

Grammar attempts to include non-existant 'source.regexp.python.renpy' scope #16

@lildude

Description

@lildude

👋 I'm the primary GitHub maintainer for Linguist which is used for syntax highlighting on GitHub.com.

As part of this syntax highlighting, Linguist and thus GitHub.com, uses this grammar for highlighting Ren'Py files.

Our grammar validator has detected an error with this grammar:

  • repository vendor/grammars/language-renpy (from https://github.com/williamd1k0/language-renpy.git) (1 errors)
    • Missing include in grammar: source.renpy (in grammars/renpy.cson) attempts to include source.regexp.python.renpy but the scope cannot be found

This is caused by:

'regular_expressions':
'comment': 'Changed disabled to 1 to turn off syntax highlighting in “r” strings.'
'disabled': 0
'patterns': [
{
'include': 'source.regexp.python.renpy'
}
]

This section needs to be redefined, removed or the scope added to the grammar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions