Test settings

This commit is contained in:
6arelyFuture 2021-09-29 19:22:34 +01:00
parent ccb9c43ad2
commit 2977800533
4 changed files with 41 additions and 0 deletions

21
.astylerc Normal file
View File

@ -0,0 +1,21 @@
# try to mimic the original gsc provided
mode=c
style=allman
indent=tab
lineend=windows
pad-oper
pad-paren-in
pad-header
# delete-empty-lines
break-blocks
# remove-braces
indent-switches
indent-cases
indent-after-parens
remove-comment-prefix

11
.editorconfig Normal file
View File

@ -0,0 +1,11 @@
root = true
[*]
indent_style = tab
indent_size = 2
charset = latin1
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.gsc linguist-language=C

8
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,8 @@
{
"astyle.astylerc": "${workspaceRoot}/.astylerc",
"astyle.additional_languages": [
"gsc"
],
"editor.defaultFormatter": "chiehyu.vscode-astyle",
"editor.formatOnSave": true
}