Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dimming bug - Make dimming apply to whole window including last line #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

myarcana
Copy link

There were two typo-induced bugs in sanitize_cols, so the bottom line of dimmed windows often wouldn't be dimmed.

vim.api.nvim_buf_get_lines returns a list, not the line itself

The line number parameters to vim.api.nvim_buf_get_lines are 0-indexed, but LineRange numbers are 1-indexed

@myarcana myarcana changed the title Make dimming apply to whole window Fix dimming bug - Make dimming apply to whole window Dec 22, 2024
@myarcana myarcana changed the title Fix dimming bug - Make dimming apply to whole window Fix dimming bug - Make dimming apply to whole window including last line Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant