Skip to content

[bug]: git chroma doesn't seem to support git commit of a directory #37

@bew

Description

@bew

Environment

OSTYPE=linux-gnu CPUTYPE=x86_64 / MACHINE_TYPE=x86_64 ZSH_VERSION=5.9

Expected behavior

(with default theme)

With the prompt git commit some/file.lua
Screenshot_20230919_093136
👉 The given file to commit is colored with 'correct-subtle'.

With the prompt git commit some/folder/with/changes/
👉 The given path to commit SHOULD BE colored with 'correct-subtle' as well

Current behavior

With the prompt git commit some/folder/with/changes/
Screenshot_20230919_093245
👉 The given path to commit is instead colored with 'incorrect-subtle', so looks like an error even though is completely valid git-wise.

Steps to reproduce

N/A ?

Code snippet

No special config, the plugin is loaded with zi light /path/to/F-Sy-H-plugin

Aditional information

N/A ?

Self-service

  • I'd be willing to address this documentation request myself.

Have you read the Contributing Guidelines?

Are you familiar with Contributor Covenant Code of Conduct?

Contact Details

here on github

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions