lsp_server
lsp_server copied to clipboard
example for scryer-prolog
i dont know how to configure vim to use scryer-prolog with this lsp
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.
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