Language popup hints - formatting issues (extraneous linefeeds) #2165
-
MacOS While using the Helix editor ( Is this an issue with the source zig docs, or with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This appears to be an caused by Helix. You can try changing the width of your terminal window which should affect the size of the popup. You should notice that helix does not adjust the line breaks which is not how markdown should be rendered. I also tested rust with rust-analyzer and got the same formatting result. This behavior may be intentional by helix but I couldn't find any existing issues that about this to confirm. I've also noticed that Helix does not tell ZLS that it supports markdown in documentation attached to completion items. This unfortunately isn't the cause of the issue since the same formatting happens in hover popup ( |
Beta Was this translation helpful? Give feedback.
This appears to be an caused by Helix. You can try changing the width of your terminal window which should affect the size of the popup. You should notice that helix does not adjust the line breaks which is not how markdown should be rendered. I also tested rust with rust-analyzer and got the same formatting result. This behavior may be intentional by helix but I couldn't find any existing issues that about this to confirm.
I've also noticed that Helix does not tell ZLS that it supports markdown in documentation attached to completion items. This unfortunately isn't the cause of the issue since the same formatting happens in hover popup (
<space>k
) which correctly sends a markdown response…