Skip to content

sources priority #66

@daniel712

Description

@daniel712

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions