Skip to content

Some questions about configuration of LSPs #57

Answered by williamboman
zhang-stephen asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

Does mason-lspconfig support to configure servers installed by package manager, e.g. ccls or clangd?

mason-lspconfig is not explicitly responsible for setting up servers, it only registers hooks with lspconfig as well as provide some other APIs that makes it a bit more seamless - for example an :LspInstall command, and an API that allow you to "automatically" set up the servers installed via mason so you don't have to do so explicitly for each server in your config.

For servers installed outside of mason (e.g. system package manager) you should just directly interact with lspconfig as mason is not involved in that at all.

And I noticed that there is a default handler when LSP is…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zhang-stephen
Comment options

Answer selected by williamboman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants