-
Tested on linux (manjaro) using nvim (latest version of 7 and 8) Plugins Plug 'williamboman/mason.nvim'
Plug 'williamboman/mason-lspconfig.nvim'
Plug 'neovim/nvim-lspconfig' Mason setuprequire("mason").setup()
require("mason-lspconfig").setup() BehaviorI'm able to install any language server without problem.
The logfile lsp.log doesn't exist. The behavior remains the same when i start is manually using LspStart. In this case, LspStart is shown in the command bar but it doesn't start the server nor does it show any error messages. QuestionDo i need to do anything in order to load the language server? |
Beta Was this translation helpful? Give feedback.
Answered by
kylo252
Aug 1, 2022
Replies: 1 comment 1 reply
-
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) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
suntsu42
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you need to call the setup function for each server manually, this plugin doesn't handle that for you