rest-nvim / rest.nvim

A fast Neovim http client written in Lua
GNU General Public License v3.0
1.35k stars 117 forks source link

Plugin not working in Lunarvim #367

Closed no-mood closed 1 month ago

no-mood commented 2 months ago

Tried to install this plugin in Lunarvim (lvim). Installed with lazy.nvim:

lvim.plugins = {
  {
    "vhyrro/luarocks.nvim",
    priority = 1000,
    config = true,
  },
  {
    "rest-nvim/rest.nvim",
    ft = "http",
    dependencies = { "luarocks.nvim" },
    config = function()
      require("rest-nvim").setup()
    end,
  }
}

Mason detects it and loads it. When I run a line, I get:

Error executing Lua callback: ...te/pack/lazy/opt/rest.nvim/lua/rest-nvim/parser/init.lua:230: attempt to concatenate field 'url' (a nil value)                                                                                                              
stack traceback:                                                                                                                                                                                                                                             
        ...te/pack/lazy/opt/rest.nvim/lua/rest-nvim/parser/init.lua:230: in function 'parse_request'                                                                                                                                                         
        ...te/pack/lazy/opt/rest.nvim/lua/rest-nvim/parser/init.lua:438: in function 'parse'                                                                                                                                                                 
        ...site/pack/lazy/opt/rest.nvim/lua/rest-nvim/functions.lua:61: in function 'exec'                                                                                                                                                                   
        .../site/pack/lazy/opt/rest.nvim/lua/rest-nvim/commands.lua:44: in function 'impl'                                                                                                                                                                   
        .../site/pack/lazy/opt/rest.nvim/lua/rest-nvim/commands.lua:182: in function <.../site/pack/lazy/opt/rest.nvim/lua/rest-nvim/commands.lua:165>
selmison commented 1 month ago

Same issue to me

no-mood commented 1 month ago

Lunarvim is now unmaintained, closing.