Open chrisgrieser opened 1 month ago
As far as I am aware there is nothing that can be done from the language server that can affect prioritization. This is something that can be achieved in the completion engine a.k.a. the consumer of LS' completions.
I am happy to be proven wrong here.
Using a completion plugin like cmp or now blink.cmp, there are various options for to adjust the individual weight/priority of the sources. This is useful, for example, to deprioritize
buffer
(which tends to crowd out other suggestions) or prioritizesnippets
.To be able to use basics_ls as a proper replacement for a completion plugin, I think many users would need some sort of prioritization like that.