lsp_server icon indicating copy to clipboard operation
lsp_server copied to clipboard

example for scryer-prolog

Open NyanHelsing opened this issue 1 year ago • 2 comments

i dont know how to configure vim to use scryer-prolog with this lsp

NyanHelsing avatar Mar 31 '23 15:03 NyanHelsing

Ah, I'm sorry. Currently the LSP server assumes SWI-Prolog; specifically, it relies on the prolog_xref library for introspection. I am not sure if that library is available under Scryer.

I'd previously looked at what would be required to support scryer, but at the time the lack of ability to do "conditional compilation" sort of thing under scryer (for example, to load different libraries) blocked that.

jamesnvc avatar Mar 31 '23 18:03 jamesnvc

i was reading an issue about this over on the scryer repo and it was mentioned that libraries can be loaded in by default with a .scryerrc file

Im not too sure about the prolog_xref library but i could look into that and see if theres any way i can shim or make bindings

NyanHelsing avatar Apr 03 '23 17:04 NyanHelsing