Eglot apparently produces much less rich completions than lsp-mode with zls? #1197
Replies: 6 comments 27 replies
-
What is the version of Eglot you're using and how did you install it? Could be that the Zig language server doesn't provide these rich completions by default, and needs some configuration. |
Beta Was this translation helpful? Give feedback.
-
Here's my event log
|
Beta Was this translation helpful? Give feedback.
-
Mine is |
Beta Was this translation helpful? Give feedback.
-
This makes me curious, isn't nil also used as "false" in Emacs? |
Beta Was this translation helpful? Give feedback.
-
Hey y'all, zls maintainer here. Issue is a niche little comptime type thing on our end, sorry about that!
LMAO; I mean string IDs are valid per the spec and back in the day I didn't want any overhead tracking IDs so I just hardcoded that one to our configuration response handler :P
This is the correct (read as: VSCode) behavior for no change in configuration params btw, so it's all good. :)
This one might've been inspired by zigtools/zls#994; I'm very thankful that you respect the spec entirely, it makes our lives so much easier 😅 <3 Thanks a bunch for your pointers to @notcancername, they helped figure this issue out pretty quickly, and of course, thanks for your work on this language client! |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I am attempting to use eglot as a LSP client. It seems to work well, however, when using it with ZLS for Zig, it seemingly produces significantly worse completions with company-mode and doesn't seem to use yas at all. I enabled them before enabling eglot.
Eglot:
lsp-mode:
ElDoc works well.
I'm using
GNU Emacs 28.2 (build 3, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars) of 2023-03-14
.Surely I am doing something wrong here? If anyone could give me some pointers as to what might cause this, I would much appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions