languages/rust: move crates-nvim dependency to extensions attribute; modernize

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a696490046c3a59d8b9dddd112a6f5120d236
This commit is contained in:
raf 2025-08-21 11:14:51 +03:00
commit adc9b79ed2
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
3 changed files with 57 additions and 31 deletions

View file

@ -259,6 +259,14 @@ in {
(mkRenamedLspServer "zig")
(mkRemovedLspPackage "zig")
# 2025-08-21
(mkRenamedOptionModule ["vim" "languages" "rust" "crates" "enable"] ["vim" "languages" "rust" "extensions" "crates-nvim" "enable"])
(mkRemovedOptionModule ["vim" "languages" "rust" "crates" "codeActions"] ''
'vim.languages.rust.crates' option has been moved to 'vim.languages.rust.extensions.crates-nvim' in full and the
codeActions option has been removed. To set up code actions again, you may use the the new 'setupOpts' option
located under 'vim.languages.rust.extensions.crates-nvim'. Refer to crates.nvim documentation for setup steps.
'')
]
# Migrated via batchRenameOptions. Further batch renames must be below this line.