highlights(cpp): make "::" @punctuation.delimiter

Fixes #2902
This commit is contained in:
Stephan Seitz 2022-05-07 12:17:16 +02:00 committed by Kiyan
parent f6d38f6f54
commit a4f9539a0c
2 changed files with 4 additions and 4 deletions

View file

@ -174,10 +174,9 @@
;"xor_eq"
] @keyword.operator
[
"<=>"
"::"
] @operator
"<=>" @operator
"::" @punctuation.delimiter
(attribute_declaration) @attribute

View file

@ -10,6 +10,7 @@ auto main( int argc, char** argv ) -> int
// ^ operator
{
std::cout << "Hello world!" << std::endl;
// ^ punctuation.delimiter
return EXIT_SUCCESS;
// ^ keyword.return