summaryrefslogtreecommitdiffhomepage
path: root/.editorconfig
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-05 08:56:49 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-05 08:56:49 -0500
commit217d937e2d661ceb346ac02a53b436afbc302592 (patch)
tree18704a79db515eaa3bb68196f1e0cde4ac42358e /.editorconfig
parentbf9143960a12d3b80309ec6949ea797f591e2eb1 (diff)
chore: add clang-format, and editorconfig.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..ef6cea0
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+root = true
+
+[*.{cpp,hpp}]
+indent_size = 4
+tab_width = 4
+indent_style = space
+
+[*.{pro,pri}]
+indent_size = 4
+tab_width = 4
+indent_style = space
+
+[*.{md,markdown}]
+indent_size = 2
+tab_width = 2
+indent_style = space