Closed Milly closed 2 months ago
The changes involve modifications to the DenopsStdBufferAppend_${suffix}
and DenopsStdBufferReplace_${suffix}
functions by removing the handling of the foldmethod
buffer option. The previous implementation temporarily altered the foldmethod
during execution, which has now been simplified. The documentation and tests have been updated accordingly to ensure clarity and maintain functionality without managing the foldmethod
.
Files | Change Summary |
---|---|
buffer/buffer.ts | Removed handling of foldmethod in append and replace functions; updated documentation. |
buffer/buffer_test.ts | Added tests for appending and replacing content in buffers with foldmethod set to "marker". |
🐇 In the meadow, I hop with glee,
Changes made, oh so carefree!
No more folds to fret and bind,
Just simple tasks, a clearer mind.
With each append, my heart takes flight,
Replacing content, all feels right! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.60%. Comparing base (
2ac1b5a
) to head (c14d65b
). Report is 3 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fixes #269
I also added tests, but I looks like no problem, so I think it's okay to delete these tests.
Summary by CodeRabbit
New Features
foldmethod
during append and replace actions.foldmethod
set to "marker".Bug Fixes
foldmethod
remains unchanged during operations.