mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
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:
parent
4f02d8c6c4
commit
7ec21fa162
2 changed files with 18 additions and 1 deletions
|
@ -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 = ''
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue