Replies: 1 comment 4 replies
-
Hello! It might be a bug in eglot, yes. To my understanding Emacs normally shows those characters of there's at least one non CRLF line. You have to setup a minimal reproducible example and then open an issue. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm not completely sure if this is an eglot issue or a problem with my configuration (leaning towards the latter, though). I'm using eglot with clangd on Windows, and I have a
.clang-format
file withUseCRLF
set totrue
. Emacs reports my existing files as having DOS line endings, and no control characters show up in my buffers. After I useeglot-format-buffer
, all my lines end with a visible^M
character and the newlines are duplicated (ie an extra empty line between every existing line) if I check the file in another editor. I'm admittedly not very familiar with properly setting up Emacs different coding variables, but does this sound familiar to anyone?My
init.el
contains:But honestly, that's just based on some Googling and trial and error. 😅 I've also tried using
utf-8-dos
explicitly with the same result. Thank you for any help!Beta Was this translation helpful? Give feedback.
All reactions