mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
add: jdtls skip config
This commit is contained in:
parent
e009cbb877
commit
1a91af074f
2 changed files with 4 additions and 2 deletions
|
@ -172,7 +172,7 @@ pcode.active_golang_config = false
|
|||
pcode.active_python_config = false
|
||||
pcode.active_cpp_config = false
|
||||
pcode.active_java_config = {
|
||||
active = true,
|
||||
active = false,
|
||||
project = "gradle", -- gradle or maven
|
||||
use_nvim_jdtls = true, -- mfussenegger/nvim-jdtls
|
||||
}
|
||||
|
|
|
@ -21,7 +21,9 @@ if pcode.active_java_config.active then
|
|||
"williamboman/mason-lspconfig.nvim",
|
||||
opts = function(_, opts)
|
||||
opts.skip_config = opts.skip_config or {}
|
||||
vim.list_extend(opts.skip_config, { "jdtls" })
|
||||
if pcode.active_java_config.use_nvim_jdtls or false then
|
||||
vim.list_extend(opts.skip_config, { "jdtls" })
|
||||
end
|
||||
end,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue