commit 0c8e48c78dc1088547f1586267b75d5b9754d687
parent a200ce0d8580f40a36c313a26db2377c1812abe2
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu, 12 May 2022 23:48:42 +0800
chore(editorconfig): remove "charset" (#18541)
Hardcoding a charset causes trouble when porting Vim patches.
I previously tried to unset "charset" for certain file extensions, but
vim-patch.sh can generate more files, and automatically detecting file
encoding is more correct anyway.
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/.editorconfig b/.editorconfig
@@ -6,14 +6,10 @@ indent_size = 2
tab_width = 8
end_of_line = lf
insert_final_newline = true
-charset = utf-8
[*.{c,h,in,lua}]
max_line_length = 100
-[*.{vim,po}]
-charset = unset
-
[{Makefile,**/Makefile,runtime/doc/*.txt}]
indent_style = tab
indent_size = 8