Skip to content

Commit

Permalink
vimPlugins.vim-instant-markdown: init at 2020-02-27
Browse files Browse the repository at this point in the history
  • Loading branch information
iv-nn committed Jun 14, 2020
1 parent fa039e2 commit e92d651
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkgs/misc/vim-plugins/generated.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4945,6 +4945,18 @@ let
meta.homepage = "https://github.com/henrik/vim-indexed-search/";
};

vim-instant-markdown = buildVimPluginFrom2Nix {
pname = "vim-instant-markdown";
version = "2020-02-27";
src = fetchFromGitHub {
owner = "suan";
repo = "vim-instant-markdown";
rev = "2d5324edf171dd0cd2e1eb995fd77816ee3bb959";
sha256 = "0yw9rdx2f8s8g8d5p2yh485kyg9cy77d7ymf2h32npg8qmm9vrmj";
};
meta.homepage = "https://github.com/suan/vim-instant-markdown/";
};

vim-ipython = buildVimPluginFrom2Nix {
pname = "vim-ipython";
version = "2015-06-23";
Expand Down
12 changes: 12 additions & 0 deletions pkgs/misc/vim-plugins/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@

# fruzzy dependency
, nim

# vim-instant-markdown dependency
, curl
}:

self: super: {
Expand Down Expand Up @@ -633,6 +636,15 @@ self: super: {
'';
});

vim-instant-markdown = super.vim-instant-markdown.overrideAttrs(old: {
dependencies = with super; [ nodePackages.instant-markdown-d curl ];
buildPhase = ''
substituteInPlace after/ftplugin/markdown/instant-markdown.vim \
--replace 'instant-markdown-d' '${nodePackages.instant-markdown-d}/bin/instant-markdown-d' \
--replace 'curl' '${curl}/bin/curl'
'';
});

vim-metamath = super.vim-metamath.overrideAttrs(old: {
preInstall = "cd vim";
});
Expand Down
1 change: 1 addition & 0 deletions pkgs/misc/vim-plugins/vim-plugin-names
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ solarnz/arcanist.vim
sonph/onehalf
stefandtw/quickfix-reflector.vim
stephpy/vim-yaml
suan/vim-instant-markdown
sunaku/vim-dasht
svermeulen/vim-subversive
t9md/vim-choosewin
Expand Down

0 comments on commit e92d651

Please sign in to comment.