Skip to content

Commit

Permalink
Neovim: Temporary solution for omnisharp_mono warning (williamboman…
Browse files Browse the repository at this point in the history
  • Loading branch information
xDMPx committed Oct 5, 2024
1 parent b63bceb commit a31d78d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .config/nvim/lua/lsp-conf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ lsp_conf.setup = function(config)
local capabilities = require('cmp_nvim_lsp').default_capabilities()

for _, lsp in ipairs(config.ensure_installed) do
if lsp == 'omnisharp_mono' then
local configs = require('lspconfig.configs')
configs.omnisharp_mono = require('lspconfig.configs.omnisharp')
end
lspconfig[lsp].setup {
capabilities = capabilities
}
Expand Down

0 comments on commit a31d78d

Please sign in to comment.