neoclide / coc-pairs

Basic auto pairs extension of coc.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there any way to insert spaces before closing characters?

moecasts opened this issue · 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