add clang autoformat settings to sublime project

This commit is contained in:
Pavel Stupnikov
2016-07-23 18:05:16 +03:00
parent c517897568
commit 94e94d83c4
2 changed files with 11 additions and 10 deletions

3
.clang-format Normal file
View File

@@ -0,0 +1,3 @@
BasedOnStyle: LLVM
IndentWidth: 4
SpacesBeforeTrailingComments: 2

View File

@@ -1,13 +1,4 @@
{
"build_systems":
[
{
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"name": "Anaconda Python Builder",
"selector": "source.python",
"shell_cmd": "python -u \"$file\""
}
],
"folders":
[
{
@@ -18,5 +9,12 @@
"follow_symlinks": true,
"path": "."
}
]
],
"settings":
{
"ClangFormat": {
"style": "File",
// "format_on_save": true,
}
}
}