diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2020-02-27 00:00:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-27 00:00:06 +0100 |
commit | cb8b9428ca796c68025afbba65a81381b2f6a304 (patch) | |
tree | 9dc80cf3ba018942c2086776757f594dcba901ed /runtime/lua/vim/lsp/callbacks.lua | |
parent | ad745f9da289a56035b8c759cc8fac1b40a44558 (diff) | |
download | rneovim-cb8b9428ca796c68025afbba65a81381b2f6a304.tar.gz rneovim-cb8b9428ca796c68025afbba65a81381b2f6a304.tar.bz2 rneovim-cb8b9428ca796c68025afbba65a81381b2f6a304.zip |
LSP/hover: Do not throw away contents if first line is empty (#11939)
haskell-ide-engine sends `hover` payloads as follows:
{
contents = {
kind = "markdown",
value = "\n```haskell\nfoo :: Either String (Integer, Text)\n```\n`foo` *local*"
},
range = {
end = {
character = 5,
line = 57
},
start = {
character = 2,
line = 57
}
}
}
`value` starts with `\n`. The logic in `convert_input_to_markdown_lines`
threw away the whole information.
Diffstat (limited to 'runtime/lua/vim/lsp/callbacks.lua')
0 files changed, 0 insertions, 0 deletions