Skip to content

doc: CodeMirror should ignore 'static/'self #9873

Closed

Description

CodeMirror JS syntax highlight currently trys to parse 'static or 'self blocks as string, and fails with a red error highlight because it doesn't find the end '.
We need to configure CodeMirror to ignore syntaxhighlight when it encounters these keywords.
See here: http://static.rust-lang.org/doc/0.8/rust.html#static-items

cc @marijnh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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