From 2366ba3b67f108d904c582a4ed1be1ee2cccc54b Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 17 Apr 2024 03:25:04 +0300 Subject: [PATCH] docs: add release note entries for `luaConfigBefore` & `luaConfigAfter` --- docs/release-notes/rl-0.6.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/release-notes/rl-0.6.md b/docs/release-notes/rl-0.6.md index 02a1ac6..50a95cd 100644 --- a/docs/release-notes/rl-0.6.md +++ b/docs/release-notes/rl-0.6.md @@ -70,7 +70,7 @@ Release notes for release 0.6 [vim.statusline.lualine.ignoreFocus](vim.statusline.lualine.ignoreFocus) and [vim.statusline.lualine.disabledFiletypes](vim.statusline.lualine.disabledFiletypes) -- Updated all plugin inputs to their latest versions (14.04.2024) - this brought minor color changes to the Catppuccin +- Updated all plugin inputs to their latest versions (**14.04.2024**) - this brought minor color changes to the Catppuccin theme. - Moved home-manager module entrypoint to `flake/modules` and added an experimental Nixos module. This requires further testing @@ -89,6 +89,13 @@ Release notes for release 0.6 - Added plugin auto-discovery from plugin inputs. This is mostly from [JordanIsaac's neovim-flake](https://github.com/jordanisaacs/neovim-flake) +- Moved internal `wrapLuaConfig` to the extended library, structured its arguments to take `luaBefore`, `luaConfig` + and `luaAfter` as strings, which are then concatted inside a lua block. + +- Added [`vim.luaConfigBefore`](vim.luaConfigBefore) and [`vim.luaConfigAfter`](vim.luaConfigAfter) + for inserting verbatim Lua configuration before and after the resolved Lua DAG respectively. Both of those options + take strings as the type, so you may read the contents of a Lua file from a given path. + [jacekpoz](https://github.com/jacekpoz): - Added `vim.autocomplete.alwaysComplete`. Allows users to have the autocomplete window popup only when manually activated.