mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-18 06:25:45 +01:00
use tabs over spaces
This commit is contained in:
@@ -6,7 +6,7 @@ BasedOnStyle: '' # (LLVM,Google,Chromium,Mozilla,Web
|
|||||||
Standard: Auto # automatically detect the language version
|
Standard: Auto # automatically detect the language version
|
||||||
ColumnLimit: 0 # 0: disable column limit
|
ColumnLimit: 0 # 0: disable column limit
|
||||||
LineEnding: LF # use LF line endings
|
LineEnding: LF # use LF line endings
|
||||||
UseTab: Never # (Never,ForIndentation,ForContinuationAndIndentation,Always)
|
UseTab: ForContinuationAndIndentation # (Never,ForIndentation,ForContinuationAndIndentation,Always)
|
||||||
TabWidth: 4 # recommended to set this equal to IndentWidth
|
TabWidth: 4 # recommended to set this equal to IndentWidth
|
||||||
IndentWidth: 4 # how wide each indent is
|
IndentWidth: 4 # how wide each indent is
|
||||||
ContinuationIndentWidth: 4 # width for a line continuation
|
ContinuationIndentWidth: 4 # width for a line continuation
|
||||||
|
|||||||
@@ -1,22 +1,16 @@
|
|||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
[*.{rs}]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 4
|
|
||||||
|
|
||||||
[*.{c,h,cpp,hpp}]
|
[*.{c,h,cpp,hpp}]
|
||||||
indent_style = space
|
indent_style = tab
|
||||||
indent_size = 4
|
indent_size = tab
|
||||||
|
|
||||||
[makefile]
|
[makefile]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
indent_size = 2
|
indent_size = tab
|
||||||
|
|
||||||
[*.{yaml,json}]
|
[*.{yaml,json}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|||||||
Reference in New Issue
Block a user