Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apparently passing :coding 'no-conversion to make-process on windows is essential to receive any text at all in the process filter. Also needed to tweak uri-to-path and path-to-uri. Thanks to lsp-mode.el for these hints * eglot.el (eglot--make-process): Pass :coding 'no-conversion to make-process. (eglot--path-to-uri): Add a forward slash if windows-nt. (eglot--uri-to-path): Remove a forward slash if windows-nt. (eglot--server-textDocument/publishDiagnostics): Simplify and use eglot--uri-to-path.
- Loading branch information
1 parent
17cf388
commit 12691c2
Showing
1 changed file
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters