neovim: use upstream nvim-cmp

This commit is contained in:
LavaDesu 2021-11-12 20:57:52 +07:00
parent 35ca2c2364
commit d16408c111
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -1,16 +1,5 @@
{ config, lib, pkgs, ... }:
let
nvim-cmp = pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = "nvim-cmp";
version = "2021-10-09";
src = pkgs.fetchFromGitHub {
owner = "hrsh7th";
repo = "nvim-cmp";
rev = "339fe9177b8eff85b21a0e118db400ab89775c28";
sha256 = "16k9zqqhsw4z4zx1x1y34yss2k2jzq04f4mlp5xc2rwnfxi8yd93";
};
meta.homepage = "https://github.com/hrsh7th/nvim-cmp/";
};
luaconf = pkgs.writeText "config.lua"
(lib.replaceStrings ["{{OMNISHARP_PATH}}"] ["${pkgs.omnisharp-roslyn}/bin/omnisharp"]
(builtins.readFile ../../res/config.lua));