forked from qt-creator/qt-creator
ClangFormat: Fix wrong indentation numbers with separator
Fixes: QTCREATORBUG-29033 Change-Id: I70ba12828d3805cb8087a797d14e0ee24611418f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -177,6 +177,7 @@ clang::format::FormatStyle qtcStyle()
|
|||||||
style.Standard = FormatStyle::LS_Cpp11;
|
style.Standard = FormatStyle::LS_Cpp11;
|
||||||
style.TabWidth = 4;
|
style.TabWidth = 4;
|
||||||
style.UseTab = FormatStyle::UT_Never;
|
style.UseTab = FormatStyle::UT_Never;
|
||||||
|
style.Standard = FormatStyle::LS_Auto;
|
||||||
return style;
|
return style;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user