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

Does not work well with `gitflow`. #147

Open
JounQin opened this issue Jul 15, 2019 · 3 comments
Open

Does not work well with `gitflow`. #147

JounQin opened this issue Jul 15, 2019 · 3 comments

Comments

@JounQin
Copy link

@JounQin JounQin commented Jul 15, 2019

Correct with gc -m:
image

Incorrect with gc -am:
image

@psprint

This comment has been minimized.

Copy link
Contributor

@psprint psprint commented Jul 15, 2019

Yes this is a known issue, you can use -a -m for now, I'm going to fix this till tomorrow.

@psprint

This comment has been minimized.

Copy link
Contributor

@psprint psprint commented Jul 15, 2019

I've added a temporary fix, it should work now. I'll fix the main issue on days

@psprint

This comment has been minimized.

Copy link
Contributor

@psprint psprint commented Oct 11, 2019

This is a nice candidate for Hacktoberfest 2019. The pull-request should introduce a loop in the line 179 of the file chroma/main-chroma.ch:

if [[ -z "${FAST_HIGHLIGHT[chroma-${FAST_HIGHLIGHT[chroma-current]}-option-with-arg-active]}" ]]; then 
    chroma/main-chroma-print -rl -- "-z OPT-WITH-ARG-ACTIVE == true"
    if [[ "$__wrd" = -* ]]; then 
    # Here a loop if $__wrd is a single-hyphen, multi-letter string

Basically, FSH should split -str into -s, -t, and -r and then look for a match in the chroma definition. It currently expects only -s, etc. at input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.