lua-language-server icon indicating copy to clipboard operation
lua-language-server copied to clipboard

@see annotation surrounds unknown symbols with tilde "~" (strikethrough)

Open justinmk opened this issue 1 year ago • 8 comments

How are you using the lua-language-server?

Nvim

Which OS are you using?

MacOS

What is the issue affecting?

Hover

Expected Behaviour

code should be able to use @see annotations that don't necessarily map to a known symbol.

Actual Behaviour

unknown symbols are rendered as "strikethrough": https://github.com/LuaLS/lua-language-server/blob/8c32d8f95f28f8bc064533031898abfb7dea58b0/script/core/hover/description.lua#L144

Reproduction steps

  1. add a @see bogus annotation
  2. hover the annotation in any LSP client

Additional Notes

No response

Log File

No response

justinmk avatar Oct 06 '24 10:10 justinmk