From 0c8e48c78dc1088547f1586267b75d5b9754d687 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 12 May 2022 23:48:42 +0800 Subject: [PATCH] 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. --- .editorconfig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index 5a5fba37ac..2aa956b1fc 100644 --- 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