cmp-nvim-lsp
cmp-nvim-lsp copied to clipboard
Option to exclude a client completely
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" } })