Skip to content

Language server not attached to buffer #217

Answered by kylo252
suntsu42 asked this question in Q&A
Discussion options

You must be logged in to vote

you need to call the setup function for each server manually, this plugin doesn't handle that for you

require("mason").setup()
require("mason-lspconfig").setup({ automatic_installation = { exclude = { "clangd" } } })
local server_opts = {}
require("lspconfig").omnisharp.setup(server_opts)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@suntsu42
Comment options

Answer selected by suntsu42
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