We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the issue Folders starting by a number are highlighted incorrectly in CMake.
Exemple:
Notice how the 3 at the beginning of 3rdparty is highlighted differently.
Which language seems to have the issue?
cmake
Are you using highlight or highlightAuto?
highlight
highlightAuto
Ayu highlighting through mdbook... I don't know sorry.
Sample Code to Reproduce
project(my_app) # example of folder structure add_subdirectory(3rdparty/libremidi) add_executable(my_app src/main.cpp) target_link_libraries(my_app PRIVATE libremidi)
Expected behavior File names in CMake function calls are highlighted normally.
The text was updated successfully, but these errors were encountered:
I wonder if something like this would be sufficeint:
{ ...hljs.NUMBER_MODE, begin: /\b\d+(\.\d+)?\b/ }
IE, just use a \b word boundary.
\b
Sorry, something went wrong.
No branches or pull requests
Describe the issue
Folders starting by a number are highlighted incorrectly in CMake.
Exemple:
Notice how the 3 at the beginning of 3rdparty is highlighted differently.
Which language seems to have the issue?
cmake
Are you using
highlight
orhighlightAuto
?Ayu highlighting through mdbook... I don't know sorry.
Sample Code to Reproduce
Expected behavior
File names in CMake function calls are highlighted normally.
The text was updated successfully, but these errors were encountered: