branch: externals/eglot commit 4b9f4da237095f9a46ec94fb3694355ca28187e8 Author: João Távora <joaotav...@gmail.com> Commit: João Távora <joaotav...@gmail.com>
If we're going to send rootPath, better send an absolute one javascript-typescript-langserver complained. * eglot.el (eglot--connect): Use expand-file-name. --- eglot.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eglot.el b/eglot.el index 5542902..9810290 100644 --- a/eglot.el +++ b/eglot.el @@ -273,7 +273,8 @@ INTERACTIVE is t if inside interactive call." 'network) (emacs-pid)) :capabilities(eglot--client-capabilities) - :rootPath (car (project-roots project)) + :rootPath (expand-file-name + (car (project-roots project))) :rootUri (eglot--path-to-uri (car (project-roots project))) :initializationOptions []))