Mathias Fußenegger
cb8b9428ca
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.
2020-02-27 00:00:06 +01:00
..
2020-02-15 16:02:52 -08:00
2018-10-11 08:27:37 +02:00
2019-08-02 16:20:23 +02:00
2020-02-26 20:22:14 +01:00
2019-11-28 14:04:40 -08:00
2019-09-18 22:59:13 +02:00
2019-11-27 22:57:11 -08:00
2020-02-27 00:00:06 +01:00
2017-11-07 01:16:42 +01:00
2020-02-12 16:03:45 +09:00
2019-11-24 20:31:46 -05:00
2014-12-19 15:28:49 -05:00
2018-01-15 23:58:52 +01:00
2019-12-05 22:14:54 -08:00
2019-08-02 16:20:22 +02:00
2019-11-27 22:47:25 -08:00
2019-07-29 20:50:07 +02:00
2019-01-04 02:17:23 +01:00
2014-07-29 02:12:31 +00:00
2020-02-01 18:06:34 -05:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2019-12-07 17:39:43 -05:00
2019-07-29 20:50:07 +02:00
2019-07-29 20:50:07 +02:00
2019-11-24 17:53:33 -08:00
2017-01-31 02:02:09 +01:00
2019-03-11 21:00:12 +01:00
2019-10-22 20:13:02 +01:00
2014-07-29 02:12:31 +00:00
2019-07-29 20:50:07 +02:00
2019-12-07 17:39:43 -05:00