From 0b4b783e697f88d777c7b833057f1107f71dd58b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Fri, 24 Jun 2022 06:35:12 +0100 Subject: [PATCH] add copilot-lua and copilot-cmp --- ci/drone-runner-docker/source.nix | 2 +- flake.lock | 34 +++++++++++++++++++++++++++++++ flake.nix | 5 +++++ vim/default.nix | 13 ++++++++++++ 4 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 vim/default.nix diff --git a/ci/drone-runner-docker/source.nix b/ci/drone-runner-docker/source.nix index c8277d7..e7a42da 100644 --- a/ci/drone-runner-docker/source.nix +++ b/ci/drone-runner-docker/source.nix @@ -1,5 +1,5 @@ {fetchgit}: -fetchgit { +fetchgit { url = "https://github.com/drone-runners/drone-runner-docker"; rev = "47ee73d829ac4796415b8ccb6c96bbbf43da8d18"; sha256 = "1rfdnj8g9g8ymy3n2gqs4w10dad1hq320bcx7hynbddyfkivgcgw"; diff --git a/flake.lock b/flake.lock index fca3241..6b15e92 100644 --- a/flake.lock +++ b/flake.lock @@ -37,6 +37,38 @@ "url": "https://gist.github.com/DarkKirb/533e9e8b9b6dd1badf9b103b4285dc4e" } }, + "copilot-cmp": { + "flake": false, + "locked": { + "lastModified": 1655750728, + "narHash": "sha256-Jjm4VtcSonk/35tJFmwOaSI4YIxKzSbfBkz9etfwXCA=", + "owner": "zbirenbaum", + "repo": "copilot-cmp", + "rev": "bcf4a3b8f2b7bb61a2d736adbb315d081444549f", + "type": "github" + }, + "original": { + "owner": "zbirenbaum", + "repo": "copilot-cmp", + "type": "github" + } + }, + "copilot-lua": { + "flake": false, + "locked": { + "lastModified": 1655866205, + "narHash": "sha256-pqE3E7HfaEB3qNz3H7VtyV6dtiNXCZvDdN1B7+xf+Aw=", + "owner": "zbirenbaum", + "repo": "copilot.lua", + "rev": "b4970d40880ca11260120ea4cbd9c7767cdd116d", + "type": "github" + }, + "original": { + "owner": "zbirenbaum", + "repo": "copilot.lua", + "type": "github" + } + }, "drone-runner-docker": { "flake": false, "locked": { @@ -329,6 +361,8 @@ "inputs": { "cargo2nix": "cargo2nix", "clean-s3-cache": "clean-s3-cache", + "copilot-cmp": "copilot-cmp", + "copilot-lua": "copilot-lua", "drone-runner-docker": "drone-runner-docker", "flake-utils": "flake-utils_2", "gomod2nix": "gomod2nix", diff --git a/flake.nix b/flake.nix index b4ed221..c77806e 100644 --- a/flake.nix +++ b/flake.nix @@ -32,6 +32,10 @@ cargo2nix.url = "github:cargo2nix/cargo2nix"; drone-runner-docker.url = "github:drone-runners/drone-runner-docker"; drone-runner-docker.flake = false; + copilot-lua.url = "github:zbirenbaum/copilot.lua"; + copilot-lua.flake = false; + copilot-cmp.url = "github:zbirenbaum/copilot-cmp"; + copilot-cmp.flake = false; }; outputs = { @@ -65,6 +69,7 @@ ./misc/plover.nix ./art ./ci/drone-runner-docker + ./vim ]); hydraJobs = diff --git a/vim/default.nix b/vim/default.nix new file mode 100644 index 0000000..9fc9f0f --- /dev/null +++ b/vim/default.nix @@ -0,0 +1,13 @@ +{ + inputs, + pkgs, +}: { + copilot-lua = pkgs.vimUtils.buildVimPlugin { + name = "copilot-lua"; + src = inputs.copilot-lua; + }; + copilot-cmp = pkgs.vimUtils.buildVimPlugin { + name = "copilot-cmp"; + src = inputs.copilot-cmp; + }; +}