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

Syntax hightlighting for interactive rebase #44

Open
dragunoff opened this issue Oct 18, 2021 · 4 comments
Open

Syntax hightlighting for interactive rebase #44

dragunoff opened this issue Oct 18, 2021 · 4 comments

Comments

@dragunoff
Copy link

This is a nice feature that I miss from the Kate editor on KDE. When doing interactive rebase the action, hash and commit message are highlighted in different colors. It's a simple quality of life improvement. Here's a quick mock-up (with example colors):
image

Prior art in Kate text editor:
image

@sonnyp
Copy link
Owner

sonnyp commented Oct 19, 2021

That's a nice idea.

Does kate uses different colors for pick, drop, reword, ... ? If so can you post a screenshot.

@dragunoff
Copy link
Author

Does kate uses different colors for pick, drop, reword, ... ? If so can you post a screenshot.

I hadn't noticed but indeed it uses different colors for some of the commands:
image

@sonnyp
Copy link
Owner

sonnyp commented Jan 15, 2022

Commit now has language definitions for git and hg

https://github.com/sonnyp/Commit/tree/main/src/language-specs

Should be quite straightforward to add support for git rebase syntax highlighting

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

No branches or pull requests

2 participants