lewis6991 / pckr.nvim

Spiritual successor of https://github.com/wbthomason/packer.nvim
MIT License
243 stars 13 forks source link

fix: plugin.process_spec{ {"plugin", ...}; } #15

Closed subnut closed 7 months ago

subnut commented 7 months ago

Fixes the error produced by this config -

require'pckr'.add{
  { "lewis6991/gitsigns.nvim",
    tag = "v0.7",
    config = function()
      require'gitsigns'.setup {}
    end
  };
}
subnut commented 7 months ago

Unrelated: Using the above config, gitsigns doesn't seem to be working...
Running :au gitsigns yields an empty list of autocommands -

:au gitsigns                                                                                      
--- Autocommands ---
Press ENTER or type command to continue

Is there something wrong with either of these plugins? or is it an issue on my end?
Should I open an issue in gitsigns.nvim repo?

EDIT: FWIW, I am using nvim v0.9.5 compiled without LuaJIT

lewis6991 commented 7 months ago

I've done a more thorough change in #16. Can you try it out?