-
Notifications
You must be signed in to change notification settings - Fork 47
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
expl3 syntax regressions #150
Comments
Sorry for the slow response.
It seems that argument specifications are correctly highlighted in your screenshot as well.
Yes, I know this problem although I haven't made a corresponding issue here. Please refer to yudai-nkt/language-tex#9.
Leading double underscores mean that the command is a private expl3 function and therefore requires a following argument specification. So,
Commands with a single underscore mean that the command is an expl3 function and therefore requires a following argument specification. All of the expl3 support is based on the naming convention documented in the section 3.2 of |
They are of the same colour as the command name, whereas in #48 (comment) they are of a different one.
I can live with that, I just noticed it while checking for other regressions, my initial issue being with commands with a single underscore.
Commands (well, macros) with a single underscore are used for variable names, as in e.g. |
I think that is more of a problem of syntax theme you're using. What's scope for the argument specification? It should be
I misunderstood you meant macros containing only one underscores by "single". |
Indeed it is, sorry for that, I tend to forget that base16 themes tend to be light on distinctions like this one.
Actually, reading back my original message, that's what it meant and Sorry for bothering you, I should have looked at my original example before answering. (I do have other issues with expl3 syntax in a cls file, but that's another issue) |
I did not notice before because I hadn't used LaTeX3 syntax for a while, but it seems that there are some regressions. Most notably
:N
and consorts) are not highlighted as advertised in expl3 syntax highlighting #48 (comment)Version infos:
language-latex
: 1.1.1The text was updated successfully, but these errors were encountered: