Skip to content

Commit

Permalink
editorconfig: Fix charset name #9070
Browse files Browse the repository at this point in the history
According to
https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
the possible values of the charset property are "latin1", "utf-8",
"utf-16be", "utf-16le", or "utf-8-bom" (case insensitive), not "utf_8"

It breaks https://github.com/sgur/vim-editorconfig/ for example.
  • Loading branch information
mcepl authored and justinmk committed Sep 30, 2018
1 parent 4c57169 commit 84fcba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
charset = utf_8
charset = utf-8

[{Makefile,**/Makefile,runtime/doc/*.txt}]
indent_style = tab
Expand Down

0 comments on commit 84fcba9

Please sign in to comment.