plugins/otter: remove cmp source registration

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
This commit is contained in:
refaelsh 2024-09-22 07:12:09 +03:00 committed by Matt Sturgeon
parent 47364df496
commit 9bcba520c8
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
2 changed files with 14 additions and 1 deletions

View file

@ -69,6 +69,11 @@ in
If you want to keep using raw lua for defining your sources:
- Ensure you enable the relevant plugins manually in your configuration;
- Dismiss this warning by explicitly setting `autoEnableSources` to `false`;
''
# TODO: Added 2024-09-22; remove after 24.11
++ optional (elem "otter" enabledSources) ''
Nixvim (plugins.cmp): "otter" is listed in `settings.sources`, however it is no longer a cmp source.
Instead, you should enable `plugins.otter` and use the "cmp-nvim-lsp" completion source.
'';
# If the user has enabled the `foo` and `bar` sources, then `plugins` will look like: