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

lexers/cue: support definitions and dollars in field names #935

Merged
merged 1 commit into from
Feb 26, 2024

Commits on Feb 26, 2024

  1. lexers/cue: support definitions and dollars in field names

    '$' is valid in a bare field name in CUE. It is not special. It happens
    to be used by convention at the start of field names, but that is about
    it.
    
    Definitions start with '#'.
    
    Add a "section" of tests that cover the various types of field. There
    are no errors in new "tests", whereas before (i.e. without the change to
    the CUE lexer) there would have been.
    myitcv committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    fc37acf View commit details
    Browse the repository at this point in the history