Fix mason for non-google

This commit is contained in:
Christian Nieves
2023-11-05 22:27:26 -06:00
parent 6157a013dc
commit 463dacc5ee

View File

@ -19,9 +19,8 @@ return {
"golangci_lint_ls", "golangci_lint_ls",
} }
if not use_google then if not use_google() then
TableConcat(lsps, { TableConcat(lsps, {
"csharp_ls",
"omnisharp_mono", "omnisharp_mono",
"tsserver", "tsserver",
"gopls", "gopls",
@ -29,8 +28,6 @@ return {
"dockerls", "dockerls",
"graphql", "graphql",
"kotlin_language_server", "kotlin_language_server",
"csharp_ls",
"asm_lsp",
"arduino_language_server", "arduino_language_server",
"clangd", "clangd",
}) })
@ -55,7 +52,7 @@ return {
require("rust-tools").setup({}) require("rust-tools").setup({})
end, end,
["omnisharp_mono"] = function() ["omnisharp_mono"] = function()
require("lspconfig").omnisharp_mono.setup({ require("lspconfig").omnisharp.setup({
-- cmd = { "dotnet", "/path/to/omnisharp/OmniSharp.dll" }, -- cmd = { "dotnet", "/path/to/omnisharp/OmniSharp.dll" },
-- Enables support for reading code style, naming convention and analyzer -- Enables support for reading code style, naming convention and analyzer