From e8ed82b07226b472c4e49c553ec73372fbd96751 Mon Sep 17 00:00:00 2001 From: diniamo Date: Thu, 19 Sep 2024 20:37:35 +0200 Subject: [PATCH] fastaction: add missing documentation --- docs/release-notes/rl-0.7.md | 16 ++++++++++++++++ modules/extra/deprecations.nix | 6 +++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/docs/release-notes/rl-0.7.md b/docs/release-notes/rl-0.7.md index ce5d8bdf..1f35c4ef 100644 --- a/docs/release-notes/rl-0.7.md +++ b/docs/release-notes/rl-0.7.md @@ -4,6 +4,8 @@ Release notes for release 0.7 ## Breaking Changes and Migration Guide {#sec-breaking-changes-and-migration-guide-0-7} +### `vim.configRC` removed + In v0.7 we are removing `vim.configRC` in favor of making `vim.luaConfigRC` the top-level DAG, and thereby making the entire configuration Lua based. This change introduces a few breaking changes: @@ -24,6 +26,17 @@ making good use of its extensive Lua API. Additionally, Vimscript is slow and brings unnecessary performance overhead while working with different configuration formats. +### `vim.lsp.nvimCodeActionMenu` removed in favor of `vim.ui.fastaction` + +The nvim-code-action-menu plugin has been archived and broken for a long time, +so it's being replaced with a young, but better alternative called +fastaction.nvim. Simply remove everything set under +`vim.lsp.nvimCodeActionMenu`, and set `vim.ui.fastaction.enable` to `true`. + +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 +everyone. + ## Changelog {#sec-release-0.7-changelog} [ItsSorae](https://github.com/ItsSorae): @@ -103,6 +116,9 @@ configuration formats. yourself by adding `vim.opt.listchars:append({ eol = '' })` to your lua configuration +- Replace `vim.lsp.nvimCodeActionMenu` with `vim.ui.fastaction`, see the + breaking changes section above for more details + [Neovim documentation on `vim.cmd`]: https://neovim.io/doc/user/lua.html#vim.cmd() - Make Neovim's configuration file entirely Lua based. This comes with a few diff --git a/modules/extra/deprecations.nix b/modules/extra/deprecations.nix index c6177749..388913a7 100644 --- a/modules/extra/deprecations.nix +++ b/modules/extra/deprecations.nix @@ -10,9 +10,9 @@ in { # 2024-07-20 (mkRemovedOptionModule ["vim" "lsp" "nvimCodeActionMenu"] '' - nvimCodeActionMenu has been deprecated and archived upstream. As of 0.7, fastaction will be - available under `vim.ui.fastaction` as a replacement. Please take a look at the nvf manual - for more details. + nvimCodeActionMenu has been deprecated and removed upstream. As of 0.7, fastaction will be + available under `vim.ui.fastaction` as a replacement. Simply remove everything under + `vim.lsp.nvimCodeActionMenu`, and set `vim.ui.fastaction.enable` to `true`. '') ]; }