Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vimPlugins.vim-markdown-composer: init at 2020-08-15 #102824

Merged
merged 1 commit into from
Nov 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions pkgs/misc/vim-plugins/generated.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5497,6 +5497,19 @@ let
meta.homepage = "https://github.com/plasticboy/vim-markdown/";
};

vim-markdown-composer = buildVimPluginFrom2Nix {
pname = "vim-markdown-composer";
version = "2020-08-15";
src = fetchFromGitHub {
owner = "euclio";
repo = "vim-markdown-composer";
rev = "c0f98ec3d6c4cb49455c18f2aeb83c0dcbad1bc4";
sha256 = "10vb3p8gksjy8zfzlkhirdsjwgvh1yv19plxwr404x87j393rs7n";
fetchSubmodules = true;
};
meta.homepage = "https://github.com/euclio/vim-markdown-composer/";
};

vim-matchup = buildVimPluginFrom2Nix {
pname = "vim-matchup";
version = "2020-09-07";
Expand Down
15 changes: 15 additions & 0 deletions pkgs/misc/vim-plugins/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,21 @@ self: super: {
'';
});

vim-markdown-composer =
let
vim-markdown-composer-bin = rustPlatform.buildRustPackage rec {
pname = "vim-markdown-composer-bin";
inherit (super.vim-markdown-composer) src version;
cargoSha256 = "iuhq2Zhdkib8hw4uvXBjwE5ZiN1kzairlzufaGuVkWc=";
};
in super.vim-markdown-composer.overrideAttrs(oldAttrs: rec {
preFixup = ''
substituteInPlace "$out"/share/vim-plugins/vim-markdown-composer/after/ftplugin/markdown/composer.vim \
--replace "let l:args = [s:plugin_root . '/target/release/markdown-composer']" \
"let l:args = ['${vim-markdown-composer-bin}/bin/markdown-composer']"
'';
});

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 @@ -103,6 +103,7 @@ enricobacis/vim-airline-clock
ensime/ensime-vim
ervandew/supertab
esneider/YUNOcommit.vim
euclio/vim-markdown-composer
fannheyward/coc-markdownlint
farmergreg/vim-lastplace
fatih/vim-go
Expand Down