cmp-buffer
cmp-buffer copied to clipboard
sources priority
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