summaryrefslogtreecommitdiff
path: root/2025/ocaml/.editorconfig
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2025-11-19 14:21:01 +0100
committerDJ O'Leary <dijitol@proton.me>2025-11-19 14:21:01 +0100
commit9fe544d9f7acc493fbd1bd76facaa7bfe435ca37 (patch)
tree9614e336eb4836ea715c153fcfb319922a3a35f1 /2025/ocaml/.editorconfig
parentdef813adf8ca5bf6f42edf9489ed07f32795355b (diff)
chore: clone ocaml_template for 2025
Diffstat (limited to '2025/ocaml/.editorconfig')
-rw-r--r--2025/ocaml/.editorconfig27
1 files changed, 27 insertions, 0 deletions
diff --git a/2025/ocaml/.editorconfig b/2025/ocaml/.editorconfig
new file mode 100644
index 0000000..64b41ca
--- /dev/null
+++ b/2025/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