Skip to content

Sublime Text syntax highlighting #1037

Closed
@Kronuz

Description

@Kronuz

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

Activity

vitaut

vitaut commented on Feb 9, 2019

@vitaut
Contributor

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?

added a commit that references this issue on Feb 15, 2019
vitaut

vitaut commented on Feb 15, 2019

@vitaut
Contributor

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

Kronuz

Kronuz commented on Feb 16, 2019

@Kronuz
ContributorAuthor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @Kronuz@vitaut

      Issue actions

        Sublime Text syntax highlighting · Issue #1037 · fmtlib/fmt