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

Sublime Text syntax highlighting #1037

Closed
Kronuz opened this issue Feb 8, 2019 · 3 comments
Closed

Sublime Text syntax highlighting #1037

Kronuz opened this issue Feb 8, 2019 · 3 comments

Comments

@Kronuz
Copy link
Contributor

Kronuz commented Feb 8, 2019

This is really not an "issue", but I don't know where else to put this... maybe this should be included somewhere in the docs or in the repo.

I created (or rather modified) a Sublime Text syntax definition for C++ with support for fmt formatted strings: https://gist.github.com/Kronuz/8ccba85296587243c3ffa07bb5cb19c8

Simply put it in the Packages/User directory (Preferences -> Browse Packages... -> User) and select the syntax from View -> Syntax -> Open all with current extension as... and select C++ (fmt).

screen shot 2019-02-08 at 3 34 04 pm

@vitaut
Copy link
Contributor

vitaut commented Feb 9, 2019

This is great! Could you submit a PR adding this syntax definition to the support directory and possibly linking somewhere in the README with a note how to use?

vitaut added a commit that referenced this issue Feb 15, 2019
@vitaut
Copy link
Contributor

vitaut commented Feb 15, 2019

I've added the syntax definition to the support directory. Thanks!

@vitaut vitaut closed this as completed Feb 15, 2019
@Kronuz
Copy link
Contributor Author

Kronuz commented Feb 16, 2019

Great! I’ll let you know if I make any other changes to it

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

2 participants