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 - 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): [NotAShelf](https://github.com/notashelf):
- Add `deno fmt` as the default Markdown formatter. This will be enabled - Add `deno fmt` as the default Markdown formatter. This will be enabled

View file

@ -8,6 +8,6 @@
typesLanguage = import ./languages.nix {inherit lib;}; typesLanguage = import ./languages.nix {inherit lib;};
in { in {
inherit (typesDag) dagOf; inherit (typesDag) dagOf;
inherit (typesPlugin) pluginsOpt extraPluginType mkPluginSetupOption luaInline; inherit (typesPlugin) pluginsOpt extraPluginType mkPluginSetupOption luaInline pluginType;
inherit (typesLanguage) diagnostics mkGrammarOption; inherit (typesLanguage) diagnostics mkGrammarOption;
} }

View file

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