zmk/.vscode/settings.json
Joel Spadin 14d5e36b68 improvement(vscode): stop C/C++ changing settings
By default, VS Code's C/C++ extension updates .vscode/settings.json to associate
.h files with C or C++ based on which type of file they're included by. Since
ZMK doesn't use C++, disable this behavior and always treat .h files as C
headers.
2021-08-08 13:21:14 -05:00

11 lines
No EOL
185 B
JSON

{
"C_Cpp.autoAddFileAssociations": false,
"files.associations": {
"*.overlay": "dts",
"*.keymap": "dts",
"*.h": "c"
},
"[c]": {
"editor.formatOnSave": true
}
}