fix(readme): setup is used to load options with packer.nvim (#263)

see https://github.com/wbthomason/packer.nvim#specifying-plugins
This commit is contained in:
Wuelner Martínez
2022-11-07 17:37:31 -06:00
committed by GitHub
parent 3aee393685
commit bc091fd9c3

View File

@@ -81,7 +81,7 @@ it to your init.vim
return require('packer').startup(function(use)
use {
'andymass/vim-matchup',
config = function()
setup = function()
-- may set any options here
vim.g.matchup_matchparen_offscreen = { method = "popup" }
end
@@ -105,7 +105,7 @@ enabled as follows:
```lua
{
"andymass/vim-matchup",
config = function()
setup = function()
vim.g.matchup_matchparen_offscreen = { method = "popup" }
end,
},