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

Add hover settings

Open nikalexxx opened this issue 2 years ago • 2 comments

Add hover settings

View by default Screen Shot 2022-05-24 at 18 28 50

View with {showTitle: false, showSource: false} Screen Shot 2022-05-24 at 18 29 46

nikalexxx avatar May 24 '22 15:05 nikalexxx

The build is failing. We have recently merged a change to enable more checks. Can you please fix them and update the PR.

gorkem avatar May 25 '22 06:05 gorkem

Couldn't we use hover instead of hoverSettings to keep in line with format?

{
  format = { enable = true },
  hover = { enable = true, showTitle = false },
}

You can "just" set the type to be boolean | CustomHoverSettings and then handle boolean as before.

Jomik avatar May 01 '23 15:05 Jomik