ikirill / irony-eldoc

irony-mode support for eldoc-mode
30 stars 9 forks source link

Don't specify a line-ending encoding explicitly #13

Closed hlissner closed 4 years ago

hlissner commented 4 years ago

Changed utf-8-unix encoding to utf-8.

By specifying an explicit line encoding, hack-local-variables will throw a Local variables entry is missing the suffix error on Windows, when a package is cloned via git without autocrlf enabled.

More specifically: when installing packages 1) with straight.el, 2) on Windows, 3) that have hard-coded a utf-8-unix encoding in its file local variables, we get issues like this: https://github.com/hlissner/doom-emacs/issues/2637, https://github.com/hlissner/doom-emacs/issues/2548, and https://github.com/raxod502/straight.el/issues/346