Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom LSPs #19

Open
ignamartinoli opened this issue Jul 7, 2022 · 3 comments
Open

Custom LSPs #19

ignamartinoli opened this issue Jul 7, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@ignamartinoli
Copy link

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?

@junnplus
Copy link
Owner

junnplus commented Jul 8, 2022

custom server is not yet supported

@junnplus junnplus added the enhancement New feature or request label Jul 8, 2022
@ignamartinoli
Copy link
Author

It would be really nice to have, if and when you have time

@chemio9
Copy link

chemio9 commented Dec 24, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants