packer.nvim
packer.nvim copied to clipboard
Better syntax for defining plugins
Default :
use {
'andymass/vim-matchup',
event = 'CursorMoved'
}
Can be made to :
['andymass/vim-matchup'] = {
event = 'CursorMoved
}

looks much cleaner I guess
Note: as per the packer docs, you can pass a table without use:
require("packer").startup({
{ "wbthomason/packer.nvim" },
{ "andymass/vim-matchup", event = "VimEnter" },
})
Note: as per the packer docs, you can pass a table without
use:require("packer").startup({ { "wbthomason/packer.nvim" }, { "andymass/vim-matchup", event = "VimEnter" }, })
thx!