[ERROR Wed 2 Oct 09:25:59 2024] ...m/lazy/mason-lspconfig.nvim/lua/mason-lspconfig/init.lua:33: Failed to set up lspconfig integration. ...ig.nvim/lua/mason-lspconfig/server_config_extensions.lua:4: module 'lspconfig.server_configurations.omnisharp' not found:
no field package.preload['lspconfig.server_configurations.omnisharp']
cache_loader: module lspconfig.server_configurations.omnisharp not found
cache_loader_lib: module lspconfig.server_configurations.omnisharp not found
no file './lspconfig/server_configurations/omnisharp.lua'
no file '/opt/homebrew/share/luajit-2.1/lspconfig/server_configurations/omnisharp.lua'
no file '/usr/local/share/lua/5.1/lspconfig/server_configurations/omnisharp.lua'
no file '/usr/local/share/lua/5.1/lspconfig/server_configurations/omnisharp/init.lua'
no file '/opt/homebrew/share/lua/5.1/lspconfig/server_configurations/omnisharp.lua'
no file '/opt/homebrew/share/lua/5.1/lspconfig/server_configurations/omnisharp/init.lua'
no file '/Users/XXXX/.local/share/nvim/lazy-rocks/telescope.nvim/share/lua/5.1/lspconfig/server_configurations/omnisharp.lua'
no file '/Users/XXXX/.local/share/nvim/lazy-rocks/telescope.nvim/share/lua/5.1/lspconfig/server_configurations/omnisharp/init.lua'
no file './lspconfig/server_configurations/omnisharp.so'
no file '/usr/local/lib/lua/5.1/lspconfig/server_configurations/omnisharp.so'
no file '/opt/homebrew/lib/lua/5.1/lspconfig/server_configurations/omnisharp.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/Users/XXXX/.local/share/nvim/lazy-rocks/telescope.nvim/lib/lua/5.1/lspconfig/server_configurations/omnisharp.so'
no file './lspconfig.so'
no file '/usr/local/lib/lua/5.1/lspconfig.so'
no file '/opt/homebrew/lib/lua/5.1/lspconfig.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/Users/XXXX/.local/share/nvim/lazy-rocks/telescope.nvim/lib/lua/5.1/lspconfig.so'
The following line errors when using latest nvim-lspconfig regardless of whether or not Omnisharp is used:
https://github.com/williamboman/mason-lspconfig.nvim/blob/25c11854aa25558ee6c03432edfa0df0217324be/lua/mason-lspconfig/server_config_extensions.lua#L4
This module was renamed in nvim-lspconfig by:
https://github.com/neovim/nvim-lspconfig/pull/3330
Example Error: