vimPlugins.coc-nvim: init at v0.0.67

you still need to enable the node js provider in your nvim config
yarn is optional.
Run :checkhealth within neovim if you have any doubt.
This commit is contained in:
Matthieu Coudron 2019-05-21 17:40:01 +09:00
parent 4f02d8c6c4
commit 7ec21fa162
2 changed files with 18 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{ lib, stdenv
, python, cmake, meson, vim, ruby
, which, fetchgit, fetchurl
, which, fetchgit, fetchurl, fetchzip
, llvmPackages, rustPlatform
, xkb-switch, fzf, skim, stylish-haskell
, python3, boost, icu, ncurses
@ -109,6 +109,22 @@ self: super: {
'';
});
coc-nvim = let
version = "0.0.67";
index_js = fetchzip {
url = "https://github.com/neoclide/coc.nvim/releases/download/v${version}/coc.tar.gz";
sha256 = "0cqgrfyaq9nck1y6mb63gmwgdrxqzgdgns5gjshpp1xzfq6asrqj";
};
in super.coc-nvim.overrideAttrs(old: {
# you still need to enable the node js provider in your nvim config
postInstall = ''
mkdir -p $out/share/vim-plugins/coc-nvim/build
cp ${index_js}/index.js $out/share/vim-plugins/coc-nvim/build/
'';
});
command-t = super.command-t.overrideAttrs(old: {
buildInputs = [ ruby rake ];
buildPhase = ''

View file

@ -215,6 +215,7 @@ ncm2/ncm2-jedi
ncm2/ncm2-path
ncm2/ncm2-tmux
ncm2/ncm2-ultisnips
neoclide/coc.nvim
neoclide/vim-easygit
neovimhaskell/haskell-vim
neovim/nvimdev.nvim