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
(csharp) "where" keyword is not recognized as constraint #1714
Comments
This (i.e. constraints and base class keywords should be colored as keywords) is still an issue, any chance it will be addressed? |
Hi @KristianWedberg or @superyyrrzz, as we have limited people maintaining the project, we rely on the community to help us with maintaining the languages themselves. Would you be willing to have a look at the language file and add "where" as a keyword if its missing? Most language files are pretty easy to change and logically organized. |
I took a quick look, and the Debugging this is a bit beyond me, any ideas what might cause this? |
@KristianWedberg thanks for taking a look. Not sure what might be causing it. Will leave this open in the hope someone else picks it up. |
cs.js {
beginKeywords: 'class interface', end: /[{;=]/,
illegal: /[^\s:,]/,
contains: [
hljs.TITLE_MODE,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
}, class starts a match and doesn't stop until it hits |
Here's an example:
Rendered result:
The text was updated successfully, but these errors were encountered: