Skip to content

Commit a5d5c5e

Browse files
committed
fix: use cmake-format extension default behavior
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.
1 parent 72ef98d commit a5d5c5e

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.vscode/settings.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,6 @@
284284
"cSpell.enableFiletypes": [
285285
"rst"
286286
],
287-
"cmakeFormat.args": [
288-
"--config-file=${workspaceFolder}/.cmake-format.yaml"
289-
],
290287
"rewrap.reformat": true,
291288
"search.exclude": {
292289
"**/.idea": true,
@@ -295,4 +292,4 @@
295292
"files.exclude": {
296293
"**/.sphinx": true
297294
},
298-
}
295+
}

0 commit comments

Comments
 (0)