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

Incorrect documentation on how to configure format on save #47

Open
sunapi386 opened this issue Aug 26, 2017 · 1 comment
Open

Incorrect documentation on how to configure format on save #47

sunapi386 opened this issue Aug 26, 2017 · 1 comment

Comments

@sunapi386
Copy link

The readme currently shows this:

{
  "folders": [],
  "settings": {
    "ClangFormat": {
      "format_on_save": true
    }
  }
}

But really this doesn't work. It needs to be this:

{
    "format_on_save": true
}

@landalex
Copy link

The readme's example is for configuring that setting in a project.sublime-settings file (for project-specific settings). The example you specify is how you set it globally.

I agree it would be worth making this a bit more clear (adding some emphasis/styling on "project.sublime-settings"), and adding the global settings modification example.

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