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

Support custom line number colors #1177

Merged
merged 2 commits into from Apr 1, 2023
Merged

Support custom line number colors #1177

merged 2 commits into from Apr 1, 2023

Conversation

joelim-work
Copy link
Collaborator

Fixes #920

Add a numberfmt option for allowing users customise the line number color. The implementation is identical to the existing tagfmt option.

Vim allows for even more fine-grained customisation, allowing the user to specify separate colors for the current line, and also lines above and below, but I decided for now to just keep things simple and have everything the same color.

@ilyagr
Copy link
Collaborator

ilyagr commented Mar 28, 2023

Looks good to me. Thanks!

@gokcehan
Copy link
Owner

gokcehan commented Apr 1, 2023

@joelim-work Thanks for the patch and @ilyagr thanks for review.

@gokcehan gokcehan merged commit 11caedd into gokcehan:master Apr 1, 2023
3 checks passed
@joelim-work joelim-work deleted the numberfmt branch April 1, 2023 23:00
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.

change the number color
3 participants