tweag / nickel

Better configuration for less
https://nickel-lang.org/
MIT License
2.24k stars 84 forks source link

The LSP doesn't show the details of type errors anymore in the diagnostics #1850

Closed yannham closed 4 months ago

yannham commented 4 months ago

Describe the bug When I edit a file with a static type error in it, the diagnostic shown in my editor is not very informative, because it doesn't show the notes of the diagnostic which include the type and whatnot. I thus just get "incompatible types", which is unhelpful. This is a regression wrt to latest stable (1.4.1), which does show the full diagnostic (see below).

To Reproduce Input 5 : String in your editor:

image

Expected behavior

This is the behavior in current stable (1.4.1), and expected one:

image

Environment

yannham commented 4 months ago

cc @jneem