mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(java): enable blink.cmp capabilities to show signature documentation
This commit is contained in:
parent
d0c366e4d8
commit
625b37cbdc
1 changed files with 3 additions and 1 deletions
|
|
@ -182,7 +182,9 @@ return {
|
||||||
},
|
},
|
||||||
settings = opts.settings,
|
settings = opts.settings,
|
||||||
-- enable CMP capabilities
|
-- enable CMP capabilities
|
||||||
capabilities = LazyVim.has("cmp-nvim-lsp") and require("cmp_nvim_lsp").default_capabilities() or nil,
|
capabilities = LazyVim.has("blink.cmp") and require("blink.cmp").get_lsp_capabilities() or LazyVim.has(
|
||||||
|
"cmp-nvim-lsp"
|
||||||
|
) and require("cmp_nvim_lsp").default_capabilities() or nil,
|
||||||
}, opts.jdtls)
|
}, opts.jdtls)
|
||||||
|
|
||||||
-- Existing server will be reused if the root_dir matches.
|
-- Existing server will be reused if the root_dir matches.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue