fix: improve set_cursor_position with pcall for fault tolerance#14
fix: improve set_cursor_position with pcall for fault tolerance#14mskadu wants to merge 9 commits into
Conversation
|
Why did you delete all the comments? |
📊 Test Coverage ReportOverall Coverage: 97.78% 📋 Detailed Coverage ReportCoverage report generated by luacov |
Oops — the comments were dropped unintentionally during the pcall restructure. The function body re-indentation caused them to be lost. I've restored them all in the latest commit (but please do let me know if I've missed any). While I was at it, blank-line separators between top-level sections are back too. Clearly I need a better code reformatter (or config for it) :) |
Restore original field ordering (ignore_filetype before ignore_buftype) in config table and setup function. Restore blank line after license block and trailing newline. These were pure formatting noise unrelated to the pcall fix.
|
Cleaned up the diff — removed unnecessary config field reordering, blank line changes, and trailing newline changes. The diff now only contains the pcall wrapping and error handler. All 18 tests still pass. Ready for re-review whenever you have a moment. Thanks! |
|
👋 hola! The diff was cleaned up after your last round of feedback. Should be good for another look whenever you have time. Thanks in advance. |
Summary
Changes
This prevents the plugin from crashing when unexpected API errors occur.