cmp-nvim-lsp icon indicating copy to clipboard operation
cmp-nvim-lsp copied to clipboard

Option to exclude a client completely

Open mcchrish opened this issue 2 years ago • 0 comments
trafficstars

As the title says. The specific use case for me is that I don't want emmet_ls to be in the suggestions. I'm already communicating with it directly with a custom trigger.

Of course it would be possible to just filter results via entry_filter option, but I think it will be slightly better to not send requests to the server at all.

Example config would be:

require("cmp_nvim_lsp").setup({ exclude_client = { "emmet_ls" } })

mcchrish avatar May 29 '23 04:05 mcchrish