Closed lambdalisue closed 1 week ago
[!CAUTION]
Review failed
The pull request is closed.
The changes made in the pull request focus on the toNvimWinSetConfig
function within the popup/nvim.ts
file. The modifications adjust the assignment of the col
and row
properties in the configuration object to account for Neovim's 0-based indexing. Specifically, the new implementation subtracts 1 from these values when they are defined, ensuring that the coordinates passed to Neovim are accurate according to its indexing system.
File | Change Summary |
---|---|
popup/nvim.ts | Adjusted col and row properties in toNvimWinSetConfig to subtract 1 for Neovim's 0-based indexing. |
Objective | Addressed | Explanation |
---|---|---|
Ensure popup window positions are consistent between Vim and Neovim (#274) | ✅ |
🐇 In the land of code where the popups play,
A fix was made to brighten the day.
With rows and columns now aligned just right,
Neovim and Vim can share the same sight!
Hopping along, no more floating in vain,
A joyful leap, no more coding pain! 🐇✨
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?
Attention: Patch coverage is 33.33333%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 85.91%. Comparing base (
ec2d3ab
) to head (a2f44f9
). Report is 4 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
popup/nvim.ts | 33.33% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Close #274
Summary by CodeRabbit
col
androw
properties for Neovim window settings to account for 0-based indexing, ensuring correct positioning.