Unverified Commit 10807b73 authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #229129 from Misterio77/phpactor-plugin

vimPlugins.phpactor: init at 2023.01.21
parents 8a42226c de89bbe3
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@
, openscad
, pandoc
, parinfer-rust
, phpactor
, ripgrep
, skim
, sqlite
@@ -777,6 +778,14 @@ self: super: {

  inherit parinfer-rust;

  phpactor = buildVimPluginFrom2Nix {
    inherit (phpactor) pname src meta version;
    postPatch = ''
      substituteInPlace plugin/phpactor.vim \
        --replace "g:phpactorpath = expand('<sfile>:p:h') . '/..'" "g:phpactorpath = '${phpactor}'"
    '';
  };

  playground = super.playground.overrideAttrs (old: {
    dependencies = with self; [
      # we need the 'query' grammer to make