Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #196: run connection hooks with proper dir-locals
eglot-connect-hook and eglot-server-initialized-hook, must run in a buffer with properly setup directory-local variables for the project, so that things like eglot-signal-didChangeConfiguration can succeed. I could have chosen any of the buffers where Eglot is activating itself, but the approach using hack-dir-local-variables-non-file-buffer seems more correct, despite the name. * eglot.el (eglot--connect): Run connection hooks with proper dir-locals.
- Loading branch information