zls icon indicating copy to clipboard operation
zls copied to clipboard

use langrefs keyword reference to provide hover for keywords

Open xdBronch opened this issue 1 year ago • 2 comments

https://ziglang.org/documentation/master/#Keyword-Reference same idea as how zls currently uses the langref for docs on builtin functions example from rust-analyzer image

xdBronch avatar Oct 25 '24 18:10 xdBronch

Related issue #1174

I though about using the keyword reference but there were some TODOs and descriptions that didn't add much value:

struct defines a struct.

WHAT?!? struct defines a struct! Who would have though?

Techatrix avatar Oct 25 '24 23:10 Techatrix

lol yeah thats fair but i think a few have at least some value. hopefull theyll be expanded on later

xdBronch avatar Oct 25 '24 23:10 xdBronch