I want to append <:>
to vim.opt.matchpairs, which AFAIK is a string type.
Neovim lua doc says:
vim.opt:append()
Option:append(value)
Append a value to string-style options. See :set+=
These are equivalent:
vim.opt.formatoptions:append('j')
vim.opt.formatoptions = vim.opt.formatoptions + 'j'
I have this line on init.lua:
vim.o.matchpairs:append("<:>")
But Neovim returns an error:
...attempt to call method 'append' (a nil value)...
How can I solve this problem?