From aa666a2391504313ba042c1fc143c8fc9ae47a0d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 3 Jan 2025 18:00:00 +0000 Subject: [PATCH] Re-add Phpactor --- nix/modules/home-manager/features/cli/neovim.nix | 1 + nvim/plugin/phpactor.lua | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 nvim/plugin/phpactor.lua diff --git a/nix/modules/home-manager/features/cli/neovim.nix b/nix/modules/home-manager/features/cli/neovim.nix index bf0cccf..125617a 100644 --- a/nix/modules/home-manager/features/cli/neovim.nix +++ b/nix/modules/home-manager/features/cli/neovim.nix @@ -24,6 +24,7 @@ with lib; mini-nvim nvim-web-devicons oil-nvim + phpactor refactoring-nvim standard-vim undotree diff --git a/nvim/plugin/phpactor.lua b/nvim/plugin/phpactor.lua new file mode 100644 index 0000000..873d853 --- /dev/null +++ b/nvim/plugin/phpactor.lua @@ -0,0 +1,2 @@ +vim.keymap.set("n", "pm", "PhpactorContextMenu") +vim.keymap.set("n", "pn", "PhpactorClassNew")