Add an option to not add closing half of the pair when it's next to a none whitespace character
ryuheechul opened this issue · 2 comments
ryuheechul commented
Autoclose.nvim is convinient when I freshly type things like below.
cursor
|
V
(word|)
However I actually edit more than write I often find myself doing very inefficient editing like following.
; move the cursor to a existing word
|word
; type (
(|)word
; delete ) - this is a multiple key strokes
(|word
; put ) at the end
(word)|
I came up with a simple idea. Perhaps not adding a closing half of the pair when the cursor is "touching" the word.
So it would be nice if this plugin can offer an option like that.
ryuheechul commented
Works perfectly, thank you!