Closed linrongbin16 closed 4 years ago
In MacOS, install the newest macvim/python3/node with homebrew. Then install coc.nvim and coc-pairs.
Use vim-plug as plugin manager.
Here's .vimrc:
.vimrc
source ~/.vim/autoload/plug.vim call plug#begin('~/.vim/plugged') Plug 'neoclide/coc.nvim', {'branch': 'release'} call plug#end()
Just install :CocInstall coc-pairs.
:CocInstall coc-pairs
When I type {}, coc-pairs give me one more duplicate {}}. When I type [], coc-pairs give me one more duplicate []].
{}
{}}
[]
[]]
When I type "", coc-pairs give me just "". When I type '', coc-pairs give me just ''. When I type (), coc-pairs give me just ().
""
''
()
When I type {}, coc-pairs give me just {}. When I type [], coc-pairs give me just [].
Try minimal vimrc.
Software
In MacOS, install the newest macvim/python3/node with homebrew. Then install coc.nvim and coc-pairs.
minimum vimrc
Use vim-plug as plugin manager.
Here's
.vimrc
:Just install
:CocInstall coc-pairs
.Description
When I type
{}
, coc-pairs give me one more duplicate{}}
. When I type[]
, coc-pairs give me one more duplicate[]]
.When I type
""
, coc-pairs give me just""
. When I type''
, coc-pairs give me just''
. When I type()
, coc-pairs give me just()
.Expect Behaviour
When I type
{}
, coc-pairs give me just{}
. When I type[]
, coc-pairs give me just[]
.