Sample file:
Steps:
- Call
swiper
- Type abc
- Call
ivy-occur
- Call
ivy-wgrep-change-to-wgrep-mode
- Make some modification to the line
- Call
wgrep-finish-edit
Result:
The modification is not applied to the buffer.
I looked into the code and found in swiper--line, tabs are replaced with whitespaces. wgrep would complain "Buffer was changed after grep." in wgrep-apply-change.
I tried to remove the tab replacing code and wgrep works.