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: introduce overflow in summary #58

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Conversation

gbprod
Copy link
Owner

@gbprod gbprod commented Feb 29, 2024

This introduce overflow on summary lines that contains > 72 characters (refers to the 50/72 rule)

Ref: #46

@gbprod
Copy link
Owner Author

gbprod commented Feb 29, 2024

Not sure that it's interesting to have a default hightlight group on this in Neovim. I will think about it.

To have it in Neovim, create a user query file for gitcommit (:TSEditQueryUserAfter gitcommit) with this content :

; extends

(overflow) @comment.warning @spell

@gbprod gbprod merged commit 6bd8196 into main Feb 29, 2024
3 checks passed
@gbprod gbprod deleted the feat-gitcommit-overflow-summary branch February 29, 2024 08:34
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