Setting callbacks for server programs. #1302
-
Hi, I'm working in a crappy project where multiple languages are used and project root is inconsistent by design. The workaround I had in another lsp client was that to pass callback that returns the command string and let it get evaluated when a file is opened. Would that be possible to support such a thing with eglot? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
From the little I was able to understand from your description it could be that you just need to tweak |
Beta Was this translation helpful? Give feedback.
Have you looked in the manual? There's a section for that. If the options can only be given as a server invocation, then directory-local eglot-server-programs is what you want.