From 4cebffd0a924c78478b9d17f8e855d29ea59078b Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 26 Jul 2024 08:00:00 +0800 Subject: Add .editorconfig --- .editorconfig | 8 ++++++++ config.md | 5 +---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .editorconfig 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 ``` - - -- cgit v1.2.3