FelipeLema / emacs-counsel-gtags

GNU Global with ivy completion
22 stars 5 forks source link

--color=never is not a valid option for ag #12

Closed fabacino closed 4 years ago

fabacino commented 4 years ago

The option --color=never introduced in https://github.com/FelipeLema/emacs-counsel-gtags/commit/af1ecbc2ecc235281bc3a86871c824bdf962eaf2 does not always work, e.g. ag uses --nocolor instead.

I created a new variable counsel-gtags--grep-commands-no-color-options where the color suppressing options can be defined for each command in case they differ from --color=never which is used by default.

FelipeLema commented 4 years ago

This looks good, concise and easy to understand in itself.

This being said, I'm trying to keep a high standard for this code (since it was very hard to maintain to begin with)

Thanks for taking the time to do this.

fabacino commented 4 years ago

I tried to improve the things you were pointing out. Let me know what you think about it.

FelipeLema commented 4 years ago

it looks good and clean

thanks for taking the time to work on this

fabacino commented 4 years ago

Thank you for keeping this package alive and maintainable.