Unverified Commit de89bbe3 authored by Gabriel Fontes's avatar Gabriel Fontes
Browse files

vimPlugins.phpactor: init at 2023.01.21

parent d9ad436f
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