aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-05-12 23:48:42 +0800
committerGitHub <noreply@github.com>2022-05-12 23:48:42 +0800
commit0c8e48c78dc1088547f1586267b75d5b9754d687 (patch)
treeca56dacca101cc4cf16699f2489cdca2a2152ce8
parenta200ce0d8580f40a36c313a26db2377c1812abe2 (diff)
downloadrneovim-0c8e48c78dc1088547f1586267b75d5b9754d687.tar.gz
rneovim-0c8e48c78dc1088547f1586267b75d5b9754d687.tar.bz2
rneovim-0c8e48c78dc1088547f1586267b75d5b9754d687.zip
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.
-rw-r--r--.editorconfig4
1 files changed, 0 insertions, 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