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

Ansi Escape Code #8

Open
dstadelm opened this issue Dec 1, 2022 · 6 comments
Open

Ansi Escape Code #8

dstadelm opened this issue Dec 1, 2022 · 6 comments

Comments

@dstadelm
Copy link

dstadelm commented Dec 1, 2022

I'm trying to use this version of git-forest in combination with TamaMcGlinn/flog-forest in neovim. But the colors do not seem to work any more then.
Are the colors printed as Ansi Escape characters?
Is there anybody with experience with such a use case?

in the terminal
image

within neovim
image

@dstadelm
Copy link
Author

dstadelm commented Dec 1, 2022

Ok, I've found the issue within the flog-forest plugin

@TamaMcGlinn
Copy link

Perhaps you need to install 'tklebanoff/vim-AnsiEsc' as well? If that fixes it, we should add this to the readme for flog-forest.

@dstadelm
Copy link
Author

dstadelm commented Dec 1, 2022

Indeed, and using the patched version of git-forest that is shipped with your plugin works just fine. However, I was wondering if it where possible to have colored branches. (and the style of this version git-foresta with the icons)

@dstadelm
Copy link
Author

dstadelm commented Dec 1, 2022

I've installed AnsiEsc and using your 'vanilla' plugin version works, just without colors for the branches
image

@TamaMcGlinn
Copy link

Probably possible, but that is issue #7 and I gave up trying to debug that. If you want to do that, you need to go into ~/.vim/plugged/flog-forest/git-forest, checkout / cherry-pick the experimental_ansi_colors branch and get it to work.

@dstadelm
Copy link
Author

dstadelm commented Dec 1, 2022

Thanks a lot for your incredible good work and insane fast response. If I find time I will definitely try that out.

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