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

Add new option 'highlight_group' #15

Merged

Conversation

aimuzov
Copy link
Contributor

@aimuzov aimuzov commented Dec 25, 2024

Hi! Thanks for the amazing plugin; navigating the code has become even more convenient. However, I have an issue. The highlight group you chose for highlighting moving objects conflicts with my configuration. Another plugin overwrites it, and there's nothing I can do about it. Could you please accept my PR that adds a new option to your plugin, allowing the highlight group to be customized? I would be very happy :)

@aaronik
Copy link
Owner

aaronik commented Dec 25, 2024

Add some tests and fix the indentation and I'll merge it 🙂

@aimuzov
Copy link
Contributor Author

aimuzov commented Dec 25, 2024

Oops, I fixed the indentation, (autoformatter) ¯\_(ツ)_/¯ As for the tests, I don't know how to write them, I have no experience. I looked at your code, but I didn't understand anything.

@aaronik aaronik changed the base branch from main to highlight_group_config December 25, 2024 20:13
@aaronik aaronik merged commit 1bad89f into aaronik:highlight_group_config Dec 25, 2024
@aaronik
Copy link
Owner

aaronik commented Dec 25, 2024

Alright I went ahead and merged into a branch and made some of the changes I was talking about (plus some extra detail on the readme). Go ahead and check out that commit here. You can check the highlight_spec.lua file for more test related inspiration :)

@aimuzov
Copy link
Contributor Author

aimuzov commented Dec 26, 2024

You're awesome! Thank you so much.

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.

2 participants