Skip to content

lexers/cue: support CUE attributes#961

Merged
alecthomas merged 1 commit intoalecthomas:masterfrom
myitcvforks:support_cue_attributes
Apr 28, 2024
Merged

lexers/cue: support CUE attributes#961
alecthomas merged 1 commit intoalecthomas:masterfrom
myitcvforks:support_cue_attributes

Conversation

@myitcv
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

myitcv commented Apr 28, 2024

Gentle nudge

@alecthomas
Copy link
Copy Markdown
Owner

Apologies!

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

2 participants