From b0668e2ef766583757e8821d34d9cc8a24796e1a Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Wed, 27 Nov 2024 14:04:13 +0100 Subject: [PATCH] nvim: Add blink.compat for nvim-cmp compatibility for blink.cmp https://github.com/Saghen/blink.compat --- home/common/nvim/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/home/common/nvim/default.nix b/home/common/nvim/default.nix index f5fa34b..eade3f0 100644 --- a/home/common/nvim/default.nix +++ b/home/common/nvim/default.nix @@ -94,6 +94,22 @@ ''; } + { + plugin = pkgs.vimUtils.buildVimPlugin { + name = "blink.compat"; + src = pkgs.fetchFromGitHub { + owner = "saghen"; + repo = "blink.compat"; + rev = "cd2d3a040b76ad0eeab9a3bba48bc4c2b9d703bf"; # v1.0.2 + hash = "sha256-4uoehv/qe74IivgXc69ekYLod3Zo+oPUvXJHtt4wc2U="; + }; + }; + type = "lua"; + config = '' + require('blink.compat').setup() + ''; + } + { plugin = codeium-nvim; type = "lua";