l-zeuch / yagpdb.vim

(N)Vim plugin for YAGPDB Custom Commands.
GNU General Public License v2.0
7 stars 2 forks source link

[Bug]: Cmp Sources Aren't Loaded #50

Closed l-zeuch closed 2 years ago

l-zeuch commented 2 years ago

Expected Behaviour

When writing custom command code, it is expected that (given proper configuration) items for completion are suggested.

Actual Behaviour

Instead, no items for completion were suggested.

Steps to Reproduce

  1. Install the plugin as instructed
  2. Activate nvim-cmp sources as instructed
  3. Type some code
  4. See nothing happening

Additional Context

When you run

:lua require('yagpdbcc')

It is loading the sources (technically the Lua plugin) and thus fixing this issue.

I've already hunted the bug down and have a patch ready, this issue is solely for bookkeeping issues, a PR follows.

Code of Conduct