summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-07-26 08:00:00 +0800
committerRunxi Yu <me@runxiyu.org>2024-07-26 08:00:00 +0800
commit4cebffd0a924c78478b9d17f8e855d29ea59078b (patch)
tree3f638580f1d192dc764cecdf75ecf034b0eae8c6
parent8d926a4f1dd6f3f0982772112c0b3679d731e35c (diff)
downloadhaxircd-docs-4cebffd0a924c78478b9d17f8e855d29ea59078b.tar.gz
haxircd-docs-4cebffd0a924c78478b9d17f8e855d29ea59078b.zip
Add .editorconfig
-rw-r--r--.editorconfig8
-rw-r--r--config.md5
2 files changed, 9 insertions, 4 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..05dedce
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,8 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+indent_style = tab
+indent_size = 8
+tab_size = 8
diff --git a/config.md b/config.md
index d02ee3b..d171a31 100644
--- a/config.md
+++ b/config.md
@@ -94,7 +94,7 @@ struct server_config SERVER_CONFIG[] = {
*/
.address = STRING("127.0.0.1"),
.port = STRING("7000"),
- },
+ },
};
size_t SERVER_CONFIG_LEN = sizeof(SERVER_CONFIG) / sizeof(*SERVER_CONFIG);
@@ -403,6 +403,3 @@ make
```sh
./HaxIRCd
```
-
-<!-- vim: noexpandtab ts=8 sw=8
--->