From d667d68f5bcf2b4e5d8172183c8f7f7d5f9c2e14 Mon Sep 17 00:00:00 2001 From: AOYAMA Kazuharu Date: Mon, 15 Apr 2024 14:13:41 +0900 Subject: [PATCH] updated --- .editorconfig | 8 ++++---- README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index a7c6dfc..dc7858f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,15 +8,13 @@ charset = utf-8 end_of_line = lf indent_style = space trim_trailing_whitespace = true -indent_size = 4 [*.{h,cpp}] -trim_trailing_whitespace = true +indent_size = 4 insert_final_newline = true [*.pro] indent_size = 2 -trim_trailing_whitespace = true [Makefile] indent_style = tab @@ -29,7 +27,9 @@ insert_final_newline = false end_of_line = crlf [*.bat] +charset = Shift_JIS end_of_line = crlf -[*.{yml,yaml}] +[*.md] indent_size = 2 +trim_trailing_whitespace = false diff --git a/README.md b/README.md index ed5edcf..62ee279 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ Code can be pasted. int main() { - std::map m = {{1, "one"}, {2, "two"}}; + std::map m = { {1, "one"}, {2, "two"} }; if (auto it = m.find(2); it != m.end()) { std::cout << it->second << std::endl; }