Replies: 1 comment 2 replies
-
I can confirm the same issues. Have you been able to resolve it? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to get Solargraph to allow me to run
eglot-format-buffer
and I'm not sure the right way to configure it. If I comment out these lines it does format successfully, otherwise I get the "Server can't format!" message. I'm unfamiliar with the inner workings of LSPs but is it something along the lines of the Solargraph server is not broadcasting it has the appropriate ability in a way that Eglot understands?FWIW, I had to create a
.dir-locals.el
file for my project to get diagnostics (via Rubocop) to work. Here is the contents of that file:When I add
:formatting
in this same manner, it doesn't have an effect and(eglot--server-capable :documentFormattingProvider)
still fails. Regardless of any.dir-local.el
configuration, formatting works if I disable the server capable check.Any tips would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions