I've followed the instructions at https://github.com/neoclide/coc-pairs to install the autopair extension for coc:
:CocInstall coc-pairs
After running this command, I get the following message:
Install finished │~
- ✓ coc-pairs Move extension [email protected] to /Users/adamgyarmati/.config/coc/extensions/node_modules/coc-pairs
The extension shows up if I run :CocList extensions
and the package is listed in .config/coc/extensions/package.json
. However if I open any file and type (
or "
, nothing happens, the parentheses / quotes aren't closed.
I've noticed that after installing the extension, if I run :CocConfig
, none of the options mentioned in the documentation are there. I've tried manually adding "pairs.enableCharacters": ["(", "[", "{", "<", "'", "\""]
but that didn't help either.
I'm using nvim v0.5.1 and I don't have any other autopair plugin installed (at least not that I know of).
Any idea what could cause this issue and how to debug it?