lib/types: expose pluginType (#322)

This commit is contained in:
diniamo 2024-07-10 21:58:37 +02:00 committed by GitHub
parent 0dca62eaa2
commit 82d67cbc66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -52,7 +52,7 @@
};
};
in {
inherit extraPluginType fromInputs;
inherit extraPluginType fromInputs pluginType;
pluginsOpt = {
description,