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

Add support for CMake bracket comment #2338

Closed
gbellizio opened this issue Feb 6, 2023 · 0 comments · Fixed by #2354
Closed

Add support for CMake bracket comment #2338

gbellizio opened this issue Feb 6, 2023 · 0 comments · Fixed by #2354
Labels
A-lexing area: changes to individual lexers
Milestone

Comments

@gbellizio
Copy link

It would be nice to support CMake bracket comment.
A bracket comment is a new style for comments introduced in CMake 3.0 that can be used for multiline comments. It's inspired by Lua opening long bracket (already supported by Pygments).

# inline CMake comment

#[[ multiline
CMake comment
]]
#[==[ another multiline
CMake comment
]==]

See documentation for comments and bracket argument for details.

@Anteru Anteru added this to the 2.15.0 milestone Mar 25, 2023
@Anteru Anteru added the A-lexing area: changes to individual lexers label Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lexing area: changes to individual lexers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants