From e00ad1f653e8d4ec22e2ae84958a3e9bfd9391ca Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 7 Apr 2023 20:31:43 +0300 Subject: [PATCH] feat: add project-nvim to plugin imports --- flake.lock | 17 +++++++++++++++++ flake.nix | 6 ++++++ lib/default.nix | 4 ---- lib/types/plugins.nix | 1 + 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index e888a0e..baa79ca 100644 --- a/flake.lock +++ b/flake.lock @@ -1246,6 +1246,22 @@ "type": "github" } }, + "project-nvim": { + "flake": false, + "locked": { + "lastModified": 1680567592, + "narHash": "sha256-avV3wMiDbraxW4mqlEsKy0oeewaRj9Q33K8NzWoaptU=", + "owner": "ahmedkhalf", + "repo": "project.nvim", + "rev": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb", + "type": "github" + }, + "original": { + "owner": "ahmedkhalf", + "repo": "project.nvim", + "type": "github" + } + }, "registers": { "flake": false, "locked": { @@ -1349,6 +1365,7 @@ "orgmode-nvim": "orgmode-nvim", "plenary-nvim": "plenary-nvim", "presence-nvim": "presence-nvim", + "project-nvim": "project-nvim", "registers": "registers", "rnix-lsp": "rnix-lsp", "rust-tools": "rust-tools", diff --git a/flake.nix b/flake.nix index 06087f8..ea6eaac 100644 --- a/flake.nix +++ b/flake.nix @@ -292,6 +292,12 @@ flake = false; }; + # Project Management + project-nvim = { + url = "github:ahmedkhalf/project.nvim"; + flake = false; + }; + # Visuals nvim-cursorline = { url = "github:yamatsum/nvim-cursorline"; diff --git a/lib/default.nix b/lib/default.nix index bf12f0d..873f31b 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -2,8 +2,4 @@ dag = import ./dag.nix {inherit lib;}; booleans = import ./booleans.nix {inherit lib;}; types = import ./types {inherit lib;}; - - imports = [ - ./assertions.nix - ]; } diff --git a/lib/types/plugins.nix b/lib/types/plugins.nix index 5bb53a8..3ff9dd1 100644 --- a/lib/types/plugins.nix +++ b/lib/types/plugins.nix @@ -78,6 +78,7 @@ with lib; let "modes-nvim" "vim-repeat" "smartcolumn" + "project-nvim" ]; # You can either use the name of the plugin or a package. pluginsType = with types;