Search code examples
pluginsneovim

wilder.nvim - auto-suggestions in ':' cmdline support don't work


I use vim-plug. In my init.vim I have:

" wilder.nvim
runtime ./plugins/configs/wilder.vim

in wilder.vim:

lua << EOF
require("wilder").setup{}
EOF

And in plug.vim

call wilder#setup({'modes': [':', '/', '?']})
call wilder#set_option('renderer', wilder#popupmenu_renderer({
      \ 'pumblend': 20,
      \ }))

The plugin works. When I type :PlugStatus I can see the status 'OK'. Also, the '/' and '?' commands work, but ':' doesn't. There's no suggestion when I type the first letter and I need to hit tab for something to appear, just like it was before installing the plugin.

Looking for a possible solution.


Solution

  • The solution was adding call wilder#setup({'modes': [':', '/', '?']}) in init.vim instead of plug.vim where I store my plugins.