Compare commits

..

3 commits

Author SHA1 Message Date
diniamo
fa0f962663 docs: fix option reference in release notes 2024-10-08 15:09:45 +02:00
diniamo
1b02bc3bb3 nvim-cmp: clarify in format description 2024-10-08 15:06:45 +02:00
diniamo
52462be36b deprecations: add rewrite deprecations 2024-10-08 13:02:44 +02:00
3 changed files with 22 additions and 4 deletions

View file

@ -166,7 +166,7 @@ everyone.
friendly-snippets for bundled snippets. [](#opt-vim.snippets.luasnip.enable) friendly-snippets for bundled snippets. [](#opt-vim.snippets.luasnip.enable)
can be used to toggle Luasnip. can be used to toggle Luasnip.
- Add sorting function options for completion sources under - Add sorting function options for completion sources under
[](#opt-vim.autocomplete.nvim-cmp.sorting.comparators) [](#opt-vim.autocomplete.nvim-cmp.setupOpts.sorting.comparators)
[Neovim documentation on `vim.cmd`]: https://neovim.io/doc/user/lua.html#vim.cmd() [Neovim documentation on `vim.cmd`]: https://neovim.io/doc/user/lua.html#vim.cmd()

View file

@ -1,5 +1,5 @@
{lib, ...}: let {lib, ...}: let
inherit (lib.modules) mkRemovedOptionModule; inherit (lib.modules) mkRemovedOptionModule mkRenamedOptionModule;
in { in {
imports = [ imports = [
# 2024-06-06 # 2024-06-06
@ -14,5 +14,23 @@ in {
available under `vim.ui.fastaction` as a replacement. Simply remove everything under available under `vim.ui.fastaction` as a replacement. Simply remove everything under
`vim.lsp.nvimCodeActionMenu`, and set `vim.ui.fastaction.enable` to `true`. `vim.lsp.nvimCodeActionMenu`, and set `vim.ui.fastaction.enable` to `true`.
'') '')
(mkRemovedOptionModule ["vim" "autopairs" "enable"] ''
vim.autopairs.enable has been removed in favor of per-plugin modules.
You can enable nvim-autopairs with vim.autopairs.nvim-autopairs.enable instead.
'')
(mkRemovedOptionModule ["vim" "autopairs" "type"] ''
vim.autopairs.type has been removed in favor of per-plugin modules.
You can enable nvim-autopairs with vim.autopairs.nvim-autopairs.enable instead.
'')
(mkRemovedOptionModule ["vim" "autocomplete" "enable"] ''
vim.autocomplete.enable has been removed in favor of per-plugin modules.
You can enable nvim-cmp with vim.autocomplete.nvim-cmp.enable instead.
'')
(mkRemovedOptionModule ["vim" "autocomplete" "type"] ''
vim.autocomplete.type has been removed in favor of per-plugin modules.
You can enable nvim-cmp with vim.autocomplete.nvim-cmp.enable instead.
'')
(mkRenamedOptionModule ["vim" "lsp" "lspkind" "mode"] ["vim" "lsp" "lspkind" "setupOpts" "mode"])
]; ];
} }

View file

@ -81,8 +81,8 @@ in {
''; '';
description = '' description = ''
The function used to customize the completion menu entires. This is The function used to customize the completion menu entires. This is
outside of `setupOpts` because of internal reasons, make sure to use outside of `setupOpts` to allow for an easier integration with
this one, instead of its `setupOpts` equivalent. lspkind.nvim.
See `:help cmp-config.formatting.format`. See `:help cmp-config.formatting.format`.
''; '';