diff --git a/docs/release-notes/rl-0.7.md b/docs/release-notes/rl-0.7.md index ff9acc94..d3676aa9 100644 --- a/docs/release-notes/rl-0.7.md +++ b/docs/release-notes/rl-0.7.md @@ -49,6 +49,8 @@ Release notes for release 0.7 - Use `clangd` as the default language server for C languages +- Expose `lib.nvim.types.pluginType`, which for example allows the user to create abstractions for adding plugins + [NotAShelf](https://github.com/notashelf): - Add `deno fmt` as the default Markdown formatter. This will be enabled diff --git a/lib/types/default.nix b/lib/types/default.nix index d00be95e..8f020737 100644 --- a/lib/types/default.nix +++ b/lib/types/default.nix @@ -8,6 +8,6 @@ typesLanguage = import ./languages.nix {inherit lib;}; in { inherit (typesDag) dagOf; - inherit (typesPlugin) pluginsOpt extraPluginType mkPluginSetupOption luaInline; + inherit (typesPlugin) pluginsOpt extraPluginType mkPluginSetupOption luaInline pluginType; inherit (typesLanguage) diagnostics mkGrammarOption; } diff --git a/lib/types/plugins.nix b/lib/types/plugins.nix index d9cc5f2b..49ea3699 100644 --- a/lib/types/plugins.nix +++ b/lib/types/plugins.nix @@ -52,7 +52,7 @@ }; }; in { - inherit extraPluginType fromInputs; + inherit extraPluginType fromInputs pluginType; pluginsOpt = { description,