hrsh7th / nvim-cmp

A completion plugin for neovim coded in Lua.
MIT License
8.16k stars 407 forks source link

how to config vsnip with native nvim-jdtls #1966

Open yimingwangdell opened 5 months ago

yimingwangdell commented 5 months ago

FAQ

Announcement

Minimal reproducible full config

Description

don't know how to config with native nvim-jdtls.

it looks like we need lspconfg to config vsnip in example. if I simply use ftplugin/java.lua to config jdtls and don't want introduce lspconfig(they should not be used at the same time) how could I use vsnip with nvim-cmp?

as document said: require('lspconfig')[''].setup { capabilities = capabilities,

Steps to reproduce


Expected behavior

explained in doc.

Actual behavior

didn't explain how to config with native nvim-jdtls(using ftplugin/java.lua)

Additional context

No response