textobjectがスペースに隣接している場合<Plug>(operator-surround-replace)を使うとsurroundにスペースが含まれてしまう
Closed this issue · 4 comments
machakann commented
例えば次のような場合を考えます。
function('foo', 'bar')
'bar' を "bar" に置き換えるために (operator-surround-replace)a'" と入力すると
function('foo', "bar")
となることを期待するのですが、
function('foo'," bar")
となります。すなわち bar の直前にスペースが含められています。回避する方法はないでしょうか?
rhysd commented
@machakann
報告ありがとうございます.
バグですね…
原因は分かっているので,時間があるときに修正してみます.
machakann commented
ありがとうございます。気長に待ちます。
machakann commented
ありがとうございます、今確認しましたが期待通りの動作です。