Open
Description
How are you using the lua-language-server?
NeoVim
Which OS are you using?
Linux
What is the issue affecting?
Formatting
Expected Behaviour
Virtual lines should be preserved. Here is an example (by @whynothugo) with using StyLua as a formatter instead.
Actual Behaviour
Virtual lines get erased. The diagnostics are still there, though. Here is an example of how it looks.
Reproduction steps
- Setup the
nvim-lspconfig
andlsp_lines
plugins - Make sure you see the virtual lines, then format the code
- Are the virtual lines still there?
Additional Notes
Both examples are demonstrated by using @WhyNotHugo's lsp_lines
Neovim plugin. There is a downstream issue.
Log File
No response