cmp-buffer icon indicating copy to clipboard operation
cmp-buffer copied to clipboard

sources priority

Open daniel712 opened this issue 2 years ago • 0 comments

Hello Friends, i worked hard the last hours to find this... I have 4 sources in my cmp.setup: nvim-lsp, luasnip, emmet_vim, and buffer I do get the variables in open buffers ONLY when i put the "buffer" line in the first place below "sources". Otherwise i get no matches out of the buffers... only the snippets. Experimented with priority setting, on and on, but no help. I have to put "buffer" in the first place... Unfortunately in the docs it's always in the last place. So i was missing my variables all the time... Was hard to find this out - did i miss something?

Now i have to find out how to modify the regex of the keyword search to show my variables starting with dash-dash, e.g. --clr-primary and so on...

Best regards Daniel

daniel712 avatar Apr 13 '23 15:04 daniel712