lsp_server
lsp_server copied to clipboard
How to get documentation for local predicates?
Using the lsp-mode, I can get documentation for loaded system predicates, but I'm not sure how I should provide documentation for my own predicates so that they are discovered by the lsp server. I tried using pldoc syntax without avail. Do you have any ideas?
Hm, the LSP server tries to use xref to load the file and uses pldoc_process to parse any comment, so if it's valid pldoc, it should show up...I seem to recall that pldoc parsing predicate being very finicky over what it considered good/valid pldoc though.
I can try to take a look, but my wife & I just had our first child, so my time is pretty fragmented at the moment 😅