mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-25 02:08:40 +02:00
plugins/otter: remove cmp source registration
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
This commit is contained in:
parent
47364df496
commit
9bcba520c8
2 changed files with 14 additions and 1 deletions
|
@ -19,9 +19,17 @@ helpers.neovim-plugin.mkNeovimPlugin {
|
|||
"otter"
|
||||
"addCmpSources"
|
||||
]
|
||||
"Otter is now supported by `plugins.cmp.autoEnableSources`, adding `otter` to `cmp` sources will enable this plugin."
|
||||
''
|
||||
You should use the "cmp-nvim-lsp" source instead.
|
||||
To quote upstream's README:
|
||||
> If you previously used the otter nvim-cmp source, you can remove it, as the completion results now come directly via the cmp-nvim-lsp source together with other language servers.
|
||||
''
|
||||
)
|
||||
|
||||
# Register nvim-cmp association
|
||||
# TODO: Otter is no longer a cmp-source
|
||||
# Deprecated 2024-09-22; remove after 24.11
|
||||
# Note: a warning is implemented in plugins/cmp/auto-enable.nix
|
||||
{ cmpSourcePlugins.otter = "otter"; }
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue