Am I the only one who struggle with cmp comparators? I can’t make any setup to work like I want it to work.
Like come on, diagramIds
is literally on the line above …
The comparators aren’t even documented: https://github.com/hrsh7th/nvim-cmp/issues/883
This is the closest thing I could find to usefull: https://github.com/hrsh7th/nvim-cmp/issues/183 but it didn’t help either
How did you manage to cope with this? Is there some reasonable setup for cmp comparators?
For me the LSP (via lsp-zero) would produce the completion you are looking for in the example. I don’t know how to make that work without lsp.