ignore vala_ls
This commit is contained in:
1 parent
bf08ba064e
commit
477b1329c9
2 files changed
+7
-2
No files matched your search
@@ -54,6 +54,7 @@ NVIM_REQUIRED_BINARIES=(
|
|||||||
java
|
java
|
||||||
luafmt
|
luafmt
|
||||||
make
|
make
|
||||||
|
ninja
|
||||||
node
|
node
|
||||||
npm
|
npm
|
||||||
python3
|
python3
|
||||||
@@ -66,7 +67,6 @@ NVIM_REQUIRED_BINARIES=(
|
|||||||
tidy
|
tidy
|
||||||
tree-sitter
|
tree-sitter
|
||||||
unzip
|
unzip
|
||||||
vala-language-server
|
|
||||||
valac
|
valac
|
||||||
wget
|
wget
|
||||||
zip
|
zip
|
||||||
|
|||||||
@@ -24,8 +24,13 @@ end
|
|||||||
---@diagnostic disable-next-line: deprecated
|
---@diagnostic disable-next-line: deprecated
|
||||||
local unpacker = table.unpack or unpack
|
local unpacker = table.unpack or unpack
|
||||||
|
|
||||||
|
-- Exclude servers that are not managed by mason (e.g., system-installed)
|
||||||
|
local mason_lsp_auto_enable = vim.tbl_filter(function(name)
|
||||||
|
return not vim.tbl_contains({"vala_ls"}, name)
|
||||||
|
end, NV_DARCULA_MASON_LSP_LIST)
|
||||||
|
|
||||||
require("mason-lspconfig").setup {
|
require("mason-lspconfig").setup {
|
||||||
automatic_enable = NV_DARCULA_MASON_LSP_LIST
|
automatic_enable = mason_lsp_auto_enable
|
||||||
}
|
}
|
||||||
|
|
||||||
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||||
|
|||||||
Reference in new issue
Block a user