diff --git a/lua/user/lsp/mason.lua b/lua/user/lsp/mason.lua index d62a32a..0dcedfe 100644 --- a/lua/user/lsp/mason.lua +++ b/lua/user/lsp/mason.lua @@ -23,3 +23,4 @@ require("user.lsp.settings.volar") require("user.lsp.settings.dockerls") require("user.lsp.settings.rnix") require("user.lsp.settings.taplo") +require("user.lsp.settings.omnisharp") diff --git a/lua/user/lsp/settings/omnisharp.lua b/lua/user/lsp/settings/omnisharp.lua new file mode 100644 index 0000000..9c6e95d --- /dev/null +++ b/lua/user/lsp/settings/omnisharp.lua @@ -0,0 +1,6 @@ +local status_ok, lspconfig = pcall(require, "lspconfig") +if not status_ok then + return +end + +lspconfig.omnisharp.setup({})