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 support for bufnr in custom highlights #552

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

Landaman
Copy link
Contributor

@Landaman Landaman commented Jan 6, 2025

This PR enables you to determine the full directory path, enabling, for example, HL groups for Git.

Previously this was provided for is_hidden_file or is_always_hidden but not for highlight_filename.

Code changes are simple, since callers of highlight_filename always have bufnr anyway.

This enables you to determine the full directory path, enabling e.g.,
HL groups for Git
@github-actions github-actions bot requested a review from stevearc January 6, 2025 23:41
@stevearc
Copy link
Owner

stevearc commented Jan 8, 2025

LGTM thanks!

@stevearc stevearc merged commit f5c563a into stevearc:master Jan 8, 2025
9 checks passed
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