0

I'm trying to indent a C# file, but when I lsp-format-buffer, it just says

No formatting changes provided

..in the echo area.

Any way to figure out what that means?;)

1
  • 1
    That msg generally means that lsp-mode received no edits from the language server. That could be because the formatter crashed, there were no changes from formatting or lsp-mode thinks the server supports formatting when it doesn't. You'll have to try formatting said code with your language server outside of lsp-mode and see what happens (ie. via your server's command line client).
    – nega
    Mar 28 at 19:16

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.