Skip to content

Commit

Permalink
chore(editorconfig): remove "charset" (neovim#18541)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zeertzjq authored May 12, 2022
1 parent a200ce0 commit 0c8e48c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0c8e48c

Please sign in to comment.