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: Show some "untracked" marker in the diff component #1191

Open
lucc opened this issue Feb 9, 2024 · 0 comments
Open

Feat: Show some "untracked" marker in the diff component #1191

lucc opened this issue Feb 9, 2024 · 0 comments
Labels
new feature New feature or feature request

Comments

@lucc
Copy link

lucc commented Feb 9, 2024

Requested feature

I would like to have an indicator in my statusline if the current file is untracked by git. (Obviously only if I am in a git repo).

This is what t looks like in airline (the crossed out "E" after the branch name):
airline-untracked

I think it would be nice to display it in the diff component for untracked files.

Motivation

I am coming from airline and they have it. I found it to be useful. I think it is a good extension of the diff component because it is essentially unused for untracked files.

I consider the diff component a hint to the user that they have uncommited work in this file. The same is true for untracked files for which the user gets no hint in lualine.

@lucc lucc added the new feature New feature or feature request label Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or feature request
Projects
None yet
Development

No branches or pull requests

1 participant