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

AnsiEsc Instructions #12

Closed
lovesegfault opened this issue May 14, 2019 · 5 comments
Closed

AnsiEsc Instructions #12

lovesegfault opened this issue May 14, 2019 · 5 comments
Labels

Comments

@lovesegfault
Copy link

I have AnsiEsc as a plugin in Neovim, but I have to manually activate it (:AnsiEsc) whenever I use nvimpager.

How can I automatically enable AnsiEsc whenever I open something with nvimpager?

@lucc
Copy link
Owner

lucc commented May 15, 2019

Nvimpager should not share the plugins with neovim. I modify the runtimepath during startup to not load all those plugins a user might have and only need for editing.

What does :messages and :scriptnames say after you started the pager and after you executed :AnsiEsc? Did you install a copy of ansiEsc with the makefile?

The ansi escaping should be triggered automatically iff you open a file with ansi escape sequences. So the next question would be what file you use. Can you create a minimal one where the problem shows up?

@lovesegfault
Copy link
Author

Okay, I'll unpack your questions/statements so it's easier for me to address them.

Nvimpager should not share the plugins with neovim.

This has not been my experience. I have the same plugins on nvimpager as I do on nvim

What does :messages and :scriptnames say after you started the pager and after you executed :AnsiEsc?

:messages does nothing.
:scriptnames returns a large list, which I have placed in this gist.

The ansi escaping should be triggered automatically...

Doesn't happen here :(


As an addendum, I'm on Gentoo, and I have nvimpager through the nvimpager USE flag of the neovim package. Which... Ah.

https://gitweb.gentoo.org/repo/gentoo.git/tree/app-editors/neovim/neovim-0.3.4-r1.ebuild#n86

This explains everything.

@lucc
Copy link
Owner

lucc commented May 17, 2019

Oh well we have been there #7 :( Maybe @ix- has since managed to push an ebuild for this nvimpager upstream?

@lucc lucc closed this as completed May 17, 2019
@lovesegfault
Copy link
Author

I don't think so, but I'd be happy to attempt to write an ebuild for it myself. I'll open a separate issue for that :)

@lucc lucc added the invalid label May 17, 2019
@ix-
Copy link

ix- commented May 17, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants