vimPlugins.vim-markdown-composer: fix executing

The source for setting the path is slightly different, so relax the
search/replace term, so it works with the new version.

Fixes starting the web-preview process.
This commit is contained in:
Flakebi 2022-05-24 23:29:19 +02:00
parent 8d8b6e8f44
commit 511491b547
No known key found for this signature in database
GPG Key ID: 38E7ED984D7DCD02

View File

@ -980,8 +980,8 @@ self: super: {
super.vim-markdown-composer.overrideAttrs (oldAttrs: rec {
preFixup = ''
substituteInPlace "$out"/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']"
--replace "s:plugin_root . '/target/release/markdown-composer'" \
"'${vim-markdown-composer-bin}/bin/markdown-composer'"
'';
});