Closed rensftw closed 11 months ago
I'm not seeing the same behavior:
Also, SchemaStore.nvim should really have nothing to do with this, it just provides the schema catalog from upstream. I would investigate your hover provider.
🤔 I am using lspsaga.nvim and it does seem to be the culprit.
Using the native vim.lsp.buf.hover
shows the text correctly:
(For anyone interested in how to style the native borders :h lsp.handlers.hover
)
@b0o Thank you for the pointer and fast response 🙏
Environment
NVIM v0.9.1 Build type: Release LuaJIT 2.1.0-beta3 SchemaStore.nvim a6759df My LSP config with SchemaStore.nvim
Actual behaviour
Special characters are prefixed by
\
resulting in broken URLs. This behaviour happens both in YAML and JSON files.YAML example:
JSON example:
Expected behaviour
Escaping symbols like
\
is not visible in the hover window. Links are usable.Schema to reproduce issue
https://github.com/SchemaStore/schemastore/blob/master/.pre-commit-config.yaml