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 CUE attributes #961

Merged
merged 1 commit into from Apr 28, 2024

Conversation

myitcv
Copy link
Contributor

@myitcv myitcv commented Apr 17, 2024

Currently the following CUE results in the chroma lexer producing an error token for the '@':

value: string @go(Value)

This code is, however, valid CUE. '@go' is an attributes.

This change adds lexer support for attributes in CUE.

Currently the following CUE results in the chroma lexer producing an
error token for the '@':

    value: string @go(Value)

This code is, however, valid CUE. '@go' is an attributes.

This change adds lexer support for attributes in CUE.
@myitcv
Copy link
Contributor Author

myitcv commented Apr 28, 2024

Gentle nudge

@alecthomas
Copy link
Owner

Apologies!

@alecthomas alecthomas merged commit 1e983e7 into alecthomas:master Apr 28, 2024
2 checks passed
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.

None yet

2 participants