mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 10:59:49 +01:00
docs: add missing deprecation notes (#420)
This commit is contained in:
parent
ff9b0eeb1f
commit
3c4eced9d1
2 changed files with 13 additions and 0 deletions
|
@ -63,6 +63,14 @@ Note that we are looking to add more alternatives in the future like
|
||||||
dressing.nvim and actions-preview.nvim, in case fastaction doesn't work for
|
dressing.nvim and actions-preview.nvim, in case fastaction doesn't work for
|
||||||
everyone.
|
everyone.
|
||||||
|
|
||||||
|
### `type` based modules removed {#sec-type-based-modules-removed}
|
||||||
|
|
||||||
|
As part of the autocompletion rewrite, modules that used to use a `type` option
|
||||||
|
have been replaced by per-plugin modules instead. Since both modules only had
|
||||||
|
one type, you can simply change
|
||||||
|
- `vim.autocomplete.*` -> `vim.autocomplete.nvim-cmp.*`
|
||||||
|
- `vim.autopairs.enable` -> `vim.autopairs.nvim-autopairs.enable`
|
||||||
|
|
||||||
## Changelog {#sec-release-0.7-changelog}
|
## Changelog {#sec-release-0.7-changelog}
|
||||||
|
|
||||||
[ItsSorae](https://github.com/ItsSorae):
|
[ItsSorae](https://github.com/ItsSorae):
|
||||||
|
|
|
@ -31,6 +31,11 @@ in {
|
||||||
vim.autocomplete.type has been removed in favor of per-plugin modules.
|
vim.autocomplete.type has been removed in favor of per-plugin modules.
|
||||||
You can enable nvim-cmp with vim.autocomplete.nvim-cmp.enable instead.
|
You can enable nvim-cmp with vim.autocomplete.nvim-cmp.enable instead.
|
||||||
'')
|
'')
|
||||||
|
(mkRemovedOptionModule ["vim" "autocomplete" "sources"] ''
|
||||||
|
vim.autocomplete.sources has been removed in favor of per-plugin modules.
|
||||||
|
You can add nvim-cmp sources with vim.autocomplete.nvim-cmp.sources
|
||||||
|
instead.
|
||||||
|
'')
|
||||||
(mkRemovedOptionModule ["vim" "snippets" "vsnip" "enable"] ''
|
(mkRemovedOptionModule ["vim" "snippets" "vsnip" "enable"] ''
|
||||||
vim.snippets.vsnip.enable has been removed in favor of the more modern luasnip.
|
vim.snippets.vsnip.enable has been removed in favor of the more modern luasnip.
|
||||||
'')
|
'')
|
||||||
|
|
Loading…
Reference in a new issue