lsp-setup.nvim
lsp-setup.nvim copied to clipboard
Custom LSPs
Hi, I was trying to config a custom Prolog LSP as I was used to in CoC. I added these lines to my config
require 'nvim-lsp-setup'.setup {
servers = {
swipl = {
cmd = {
'swipl',
'-g',
'use_module(library(lsp_server)).',
'-g',
'lsp_server:main',
'-t',
'halt',
'--',
'stdio'
},
filetypes = { 'prolog' },
settings = {}
}
}
After doing that I receive [lspconfig] Cannot access configuration for swipl. Ensure this server is listed in `server_configurations.md` or added as a custom server
.
Do you know I should make custom servers work with nvim-lsp-setup
?
custom server is not yet supported
It would be really nice to have, if and when you have time
@ignamartinoli already implemented in my fork: chenrry666/lsp-setup.nvim branch fix_inlay_hints
detalis here: anchorite/lsp-setup.nvim ps. I forked the repo from anchorite/lsp-setup.nvim instead of here because inlay_hints is really good.