Completion sources with corfu

Hello

What happened?

I have a difficulty to setup the sources for corfu. You can see 2 screenshots (I wish I had 3, but I’m a new user).

automaticCompletion

Here I edit the same Org Roam note. I get org roam links automatically with pressing a shortcut. These I suggestions I’d rather get via some shortcut or at least after the words from buffer.

dabbrevCompletion

Here I edit an Org document and I see a suggestion from dabbrev - which is good, but it doesn’t suggest the word “viewer” which you can see right above the current word. When I press Ctrl+Alt+/, I get “viewer” in the suggestions as well.

What did you expect to happen?

It would be nice to have words from the current buffer in the suggestion list, like when you press Ctrl+Alt+/ (the called function is “dabbrev-completion”).

Steps to reproduce

  1. Set in the init.el (corfu +dabbrev)
  2. Set no additional configuration.

System information


Loading data dump...