From bd649c82547543e0cddc2b3bbb3dcf7d535f8497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Fri, 3 Jun 2022 21:56:12 +0100 Subject: [PATCH] Pin coc fix as not upstreamed yet --- nixos/home-manager/programs/vim.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/nixos/home-manager/programs/vim.nix b/nixos/home-manager/programs/vim.nix index 0fc41f6d..c05c65e7 100644 --- a/nixos/home-manager/programs/vim.nix +++ b/nixos/home-manager/programs/vim.nix @@ -3,6 +3,20 @@ home.packages = with pkgs; [ ripgrep ]; programs.neovim = { enable = true; + coc = { + enable = true; + package = pkgs.vimUtils.buildVimPluginFrom2Nix { + pname = "coc.nvim"; + version = "2022-05-21"; + src = pkgs.fetchFromGitHub { + owner = "neoclide"; + repo = "coc.nvim"; + rev = "791c9f673b882768486450e73d8bda10e391401d"; + sha256 = "sha256-MobgwhFQ1Ld7pFknsurSFAsN5v+vGbEFojTAYD/kI9c="; + }; + meta.homepage = "https://github.com/neoclide/coc.nvim/"; + }; + }; viAlias = true; vimAlias = true; vimdiffAlias = true;