summaryrefslogtreecommitdiff
path: root/ocaml/.editorconfig
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2026-06-26 18:04:09 +0200
committerDJ O'Leary <dijitol@proton.me>2026-06-26 18:04:09 +0200
commit6d8fb621d1e93b83786890d6d9cb6f0d8defa8ae (patch)
tree17c90d3984c114aa023600cc5bec6f6004b02243 /ocaml/.editorconfig
parentad4ea5ca4bc9f7540ee1d6a4fa2d881709dc6459 (diff)
refactor!: invert repo directory structure
now is language first
Diffstat (limited to 'ocaml/.editorconfig')
-rw-r--r--ocaml/.editorconfig27
1 files changed, 27 insertions, 0 deletions
diff --git a/ocaml/.editorconfig b/ocaml/.editorconfig
new file mode 100644
index 0000000..64b41ca
--- /dev/null
+++ b/ocaml/.editorconfig
@@ -0,0 +1,27 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+indent_style = space
+
+[*.{ml,mli}]
+indent_style = space
+indent_size = 2
+tab_width = 2
+
+[*.{opam,dune,install,sexp,conf,in}]
+indent_style = space
+indent_size = 4
+
+[*.{md}]
+indent_style = tab
+trim_trailing_whitespace = true
+
+[*.{nix}]
+indent_style = space
+indent_size = 2
+insert_final_newline = false
+trim_trailing_whitespace = true