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

feat(hl): add 'TreesitterContextLineNumberBottom' #385

Merged

Conversation

Danielkonge
Copy link
Contributor

This closes #383.

For now I replaced highlight_bottom with highlight_lno_bottom, which will change the current behavior a bit, but also allow for more precise configuration by the user.

If you prefer to keep highlight_bottom as it was, I can add it back in together with the new function.

@Danielkonge Danielkonge force-pushed the context-line-number-bottom branch from 0b4576e to 1ce2ae4 Compare January 25, 2024 18:16
lua/treesitter-context/render.lua Outdated Show resolved Hide resolved
lua/treesitter-context.lua Outdated Show resolved Hide resolved
@Danielkonge Danielkonge force-pushed the context-line-number-bottom branch from 1ce2ae4 to 6641e67 Compare January 25, 2024 21:07
@Danielkonge
Copy link
Contributor Author

Danielkonge commented Jan 25, 2024

I tried addressing the comments now. Please just let me know if you want to change anything else. (Also, since it is such a small PR I just squashed the commits immediately.)

@lewis6991 lewis6991 merged commit 9c06b11 into nvim-treesitter:master Jan 25, 2024
1 check passed
@lewis6991
Copy link
Member

Thanks

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.

Add 'TreesitterContextBottomLineNr' highlight group
2 participants