Skip to content

Commit

Permalink
fix: use cmake-format extension default behavior
Browse files Browse the repository at this point in the history
By default the cmake-format extension will run the cmake-format command
in the workspace root and cmake-format will look for a usable
configuration file in the hierarchy of the file being formatted. Our
config file will be detected and used with no explicit setting here. Forcing
the setting here will produce an error with cmake-format on windows.
  • Loading branch information
abdes committed Sep 18, 2022
1 parent 72ef98d commit a5d5c5e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,6 @@
"cSpell.enableFiletypes": [
"rst"
],
"cmakeFormat.args": [
"--config-file=${workspaceFolder}/.cmake-format.yaml"
],
"rewrap.reformat": true,
"search.exclude": {
"**/.idea": true,
Expand All @@ -295,4 +292,4 @@
"files.exclude": {
"**/.sphinx": true
},
}
}

0 comments on commit a5d5c5e

Please sign in to comment.