neoclide/coc-pairs

Is there any way to insert spaces before closing characters?

moecasts opened this issue · 1 comments

Insert spaces before closing characters, only for [], (), {} like auto-pairs

input: {|} (press <SPACE> at |)
output: { | }

input: {|} (press <SPACE>foo} at |)
output: { foo }|

input: '|' (press <SPACE> at |)
output: ' |'

No, use surrand.vim