Merge pull request #229129 from Misterio77/phpactor-plugin

vimPlugins.phpactor: init at 2023.01.21
This commit is contained in:
figsoda 2023-04-30 12:51:07 -04:00 committed by GitHub
commit 10807b7347
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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