gbprod / phpactor.nvim

Lua version of the Phpactor vim plugin to take advantage of the latest Neovim features
75 stars 7 forks source link

Unable to start lsp #39

Open end3r-man opened 11 hours ago

end3r-man commented 11 hours ago
/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:800: Spawning language server with cmd: `{ "/home/end3rman/.local/share/nvim/opt/phpactor/bin/phpactor", "language-server" }` failed. The language server is either not
installed, missing from PATH, or not executable.

im using mason config is

  {
    "gbprod/phpactor.nvim",
    dependencies = {
      "nvim-lua/plenary.nvim",
      "neovim/nvim-lspconfig",
      {
        "williamboman/mason.nvim",
        opts_extend = { "ensure_installed" },
        opts = {
          ensure_installed = { "phpactor" },
        },
      },
    },
    opts = {
      install = {
        -- despite being under "install" this path is used when running RPC commands.
        bin = vim.fn.stdpath("data") .. "/mason/packages/phpactor/phpactor.phar",
      },
    },
  },

installed the phpactor using Mason

end3r-man commented 11 hours ago

1732569165_grim

end3r-man commented 11 hours ago

my config repo