Skip to content
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

C++ highlighting fails to highlight certain comma/modulo-heavy code #76

Open
Qix- opened this issue Mar 26, 2022 · 0 comments
Open

C++ highlighting fails to highlight certain comma/modulo-heavy code #76

Qix- opened this issue Mar 26, 2022 · 0 comments

Comments

@Qix-
Copy link

Qix- commented Mar 26, 2022

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)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant