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

This commit is contained in:
Flakebi
2020-11-18 12:04:37 -08:00
committed by Jonathan Ringer
parent 713b47e815
commit eafb0c886d
3 changed files with 29 additions and 0 deletions
+15
View File
@@ -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";
});