diff --git a/docs/release-notes/rl-0.7.md b/docs/release-notes/rl-0.7.md index ff9acc9..d3676aa 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 d00be95..8f02073 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 e10547f..c0e89d6 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,