mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-28 22:08:12 +02:00
fix(tests): set up lazy.nvim in the lsp test (#4088)
This commit is contained in:
parent
4cefc89506
commit
6c66357cb1
4 changed files with 12 additions and 7 deletions
|
@ -2,6 +2,7 @@ local skipped_servers = {
|
|||
"angularls",
|
||||
"ansiblels",
|
||||
"antlersls",
|
||||
"azure_pipelines_ls",
|
||||
"ccls",
|
||||
"csharp_ls",
|
||||
"cssmodules_ls",
|
||||
|
@ -22,6 +23,7 @@ local skipped_servers = {
|
|||
"phpactor",
|
||||
"psalm",
|
||||
"pylsp",
|
||||
"pylyzer",
|
||||
"pyre",
|
||||
"quick_lint_js",
|
||||
"reason_ls",
|
||||
|
@ -39,6 +41,7 @@ local skipped_servers = {
|
|||
"spectral",
|
||||
"sqlls",
|
||||
"sqls",
|
||||
"standardrb",
|
||||
"stylelint_lsp",
|
||||
"svlangserver",
|
||||
"tflint",
|
||||
|
|
|
@ -55,6 +55,7 @@ end
|
|||
---@param filter { filetype: string | string[] }?: (optional) Used to filter the list of server names.
|
||||
---@return string[] list of names of supported servers
|
||||
function M.get_supported_servers(filter)
|
||||
require("mason-registry").refresh()
|
||||
local _, supported_servers = pcall(function()
|
||||
return require("mason-lspconfig").get_available_servers(filter)
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue