mirror of
https://github.com/remko/waforth
synced 2024-12-26 09:59:09 +01:00
vscode: Add C auto-formatting
This commit is contained in:
parent
ccd49c2b12
commit
92c97db7f9
2 changed files with 9 additions and 0 deletions
6
.clang-format
Normal file
6
.clang-format
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
BasedOnStyle: LLVM
|
||||||
|
ColumnLimit: 150
|
||||||
|
---
|
||||||
|
Language: Cpp
|
||||||
|
AllowShortFunctionsOnASingleLine: Empty
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
@ -32,5 +32,8 @@
|
||||||
"[css]": {
|
"[css]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
"editor.formatOnSave": true
|
"editor.formatOnSave": true
|
||||||
|
},
|
||||||
|
"[c]": {
|
||||||
|
"editor.formatOnSave": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue