Help to identify capabilities
So nimsuggest offers different ways to query a file for information. According to the --help you can pass these commands: sug|con|def|use|dus|chk|mod|highlight|outline|known. Currently only sug is in use and maps to textDocument/completion. According to the integration guide only sug, con, def, and use are explained. If anyone could help to identify how to best map what we can get from nimsuggest (or other Nim tools) to the LSP specification that would be of great help.
the Nim VSCode ext sources might help you, since the LSP was originally designed for VSCode, so the APIs share many similarities.
Oh wow, yeah those should be really helpful. Not sure why I didn't think of that earlier. LSP itself stems from VSCode, so it should be a fairly simple task to map that functionality over to LSP.