Unverified Commit 511491b5 authored by Flakebi's avatar Flakebi
Browse files

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.
parent 8d8b6e8f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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'"
      '';
    });