Closed fbbdev closed 7 years ago
Thanks for the tip, language-cpp14 fixes user-defined literal highlighting. You can disable the default language-c package, then you don't need -*- C++14 -*-
. It removes C highlighting though.
Any progress on this?
string normal_str="First.\"Second.\"Last.\"";
string raw_str=R"(First.\"Second.\"Last.\")";
I could not reproduce this issue. It is probably fixed already and may be closed.
@alpyre the issue regards syntax like this:
string raw_str = R"(First."Second."Last.")";
It doesn't happen with escaped quotes.
Anyway, I just tested this with atom v1.13.1 and it works correctly.
The syntax highlighter is confused by raw strings when they contain quotes, and some other quirks show up sometimes. Best solution at the moment is to install jbw3/language-cpp14, but this forces me to put
-*- C++14 -*-
in my source files, breaking other editors.