Good question.
I was not able to find nimsuggest documentation at all two weeks ago. I was going to rewrite my NEd editor for gintro and GTK4, and improve nimsuggest support at the same time. But I can not remember how I build nimsuggest support five years ago for the old NEd version. Maybe it was partly copied from Aporia or asked from Andreas? GtkSourceView seems not to support LanguageServerProtocoll, so I have to communicate with nimsuggest the old way with startProcess, socket, UDP and such. One old issue was the port reuse, which generated crashes when NEd was restarted too fast. I think there may exists a fix to automatic port selection now, but how to use it. And there where rumors that nimsuggest should support incremental compilation now. How to enable?