aboutsummaryrefslogtreecommitdiff
path: root/xW/.clang-format
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-07-09 07:06:19 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-07-15 17:00:21 +0200
commit0219dbd02615498f4a931e33ef2337e0bbf9b526 (patch)
treeb80e489614dcec83b8600534b5701b742d524ee4 /xW/.clang-format
parent1da4699a7afb0085c498196bf41fef6b69168a6f (diff)
downloadxK-0219dbd02615498f4a931e33ef2337e0bbf9b526.tar.gz
xK-0219dbd02615498f4a931e33ef2337e0bbf9b526.tar.xz
xK-0219dbd02615498f4a931e33ef2337e0bbf9b526.zip
Add a Win32 frontend for xC
This has been more of an exercise. The performance of Msftedit.dll is rather abysmal, and its interface isn't the most accomodating. That said, the frontend is quite usable, at least on Windows 10+.
Diffstat (limited to 'xW/.clang-format')
-rw-r--r--xW/.clang-format11
1 files changed, 11 insertions, 0 deletions
diff --git a/xW/.clang-format b/xW/.clang-format
new file mode 100644
index 0000000..025ef20
--- /dev/null
+++ b/xW/.clang-format
@@ -0,0 +1,11 @@
+BasedOnStyle: LLVM
+ColumnLimit: 80
+IndentWidth: 4
+TabWidth: 4
+UseTab: ForContinuationAndIndentation
+AlwaysBreakAfterReturnType: AllDefinitions
+BreakBeforeBraces: Linux
+SpaceAfterCStyleCast: true
+AlignAfterOpenBracket: DontAlign
+AlignOperands: DontAlign
+SpacesBeforeTrailingComments: 2