SublimeClangFormat
SublimeClangFormat copied to clipboard
Incorrect documentation on how to configure format on save
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
}
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.