c.tmbundle
c.tmbundle copied to clipboard
C++ highlighting fails to highlight certain comma/modulo-heavy code
Sorry for the cruddy title, I don't really know the root cause so I made a best effort guess. Feel free to edit it.
The following valid C++ code completely breaks highlighting, namely for the strings:
auto cli = (
option("--help").set(show_help)
% "Show this help message",
(option("-J", "--threads") & value("num_threads", num_threads))
% "The number of threads to use (default 0, meaning 'auto')",
value("db_dir").set(dbdir).required(true).blocking(true)
% "The database directory location",
any_other(invalid_params)
);