mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-14 13:01:12 +01:00
treewide: remove with lib;
This commit is contained in:
parent
cd0443e166
commit
629f9d75f8
67 changed files with 276 additions and 338 deletions
|
|
@ -1,14 +1,10 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "chatgpt";
|
||||
package = "ChatGPT-nvim";
|
||||
description = "Effortless Natural Language Generation with OpenAI's ChatGPT API";
|
||||
|
||||
maintainers = [ maintainers.GaetanLepage ];
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
dependencies = [ "curl" ];
|
||||
|
||||
|
|
@ -30,7 +26,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
'';
|
||||
|
||||
extra_curl_params = lib.nixvim.defaultNullOpts.mkListOf' {
|
||||
type = types.str;
|
||||
type = lib.types.str;
|
||||
pluginDefault = null;
|
||||
description = ''
|
||||
Custom cURL parameters can be passed using this option.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue