Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sources priority #66

Open
daniel712 opened this issue Apr 13, 2023 · 0 comments
Open

sources priority #66

daniel712 opened this issue Apr 13, 2023 · 0 comments

Comments

@daniel712
Copy link

daniel712 commented Apr 13, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant