-
Notifications
You must be signed in to change notification settings - Fork 17
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
No code highlighting inside QUOTE macros #82
Comments
This is mostly due to the fact we do not highlight sqf keywords in config files. The quote bit seems weird, maybe we can adjust our regex. |
|
Do we not add the CBA macros to those files? |
No, everything is for SQF only. @dedmen Set your Atom to "Arma Config" when you open one of those files and see if it changes anything. |
Above screenshots were made with Arma config grammar. Setting it to SQF highlights everything correctly. |
Works like that in C++ header highlighter which we use, and we don't do any SQF highlighting at all in configs. Would just mean copying them to the |
Hello @acemod/maintainers. This ticket has been open for over 115 days without any activity. |
I am using QUOTE(code) for the onLoad scripts in ui configs. But its not highlighting any code words.
It should look like this:
https://github.com/CBATeam/CBA_A3/blob/master/addons/diagnostic/gui.hpp#L14 (Github highlighting does it correctly)
but it looks like this:
As you can see encasing the code in {} fixes it a little. But doesn't fix the QUOTE macro itself not highlighting.
The text was updated successfully, but these errors were encountered: