fix: trust user's install of potential LSPs. This might also fix Python-lsp installtion, but this is not yet tested

mason-deno-fix
pegasust 2022-12-03 07:03:20 +00:00
parent 37363d4581
commit 5d2f71e934
1 changed files with 6 additions and 1 deletions

View File

@ -550,7 +550,12 @@ require("mason").setup({
package_uninstalled = "" package_uninstalled = ""
}, },
check_outdated_packages_on_open = true, check_outdated_packages_on_open = true,
} },
-- The default settings is "prepend" https://github.com/williamboman/mason.nvim#default-configuration
-- Which means Mason's installed path is prioritized against our local install
-- see: https://git.pegasust.com/pegasust/aoc/commit/b45dc32c74d84c9f787ebce7a174c9aa1d411fc2
-- This introduces some pitfalls, so we'll take the approach of trusting user's local installation
PATH = "append";
}) })
require('mason-lspconfig').setup({ require('mason-lspconfig').setup({
ensure_installed = servers, ensure_installed = servers,