slashmili/alchemist.vim

Calling ExDoc makes neovim loose the color theme

chalmagean opened this issue · 6 comments

Original:
2017-08-19 at 08 11

After pressing K:
2017-08-19 at 08 12

@chalmagean are you using AnsiEsc Plugin?

I've tried that, AnsiEsc doesn't change anything.

My suggestion is not to use AnsiEsc. That's why I'm asking :)

I just check my neovim and looks fine. I'm using elixir-vim ver 7a0f4ec

Here is the place that we apply settings for opened buffer(document). Try to to disable/enable them until your main buffer doesn't lose the color

Hmm, ok so I actually had AnsiEsc installed. By removing it I now get no color changes but I do get a buffer that looks like this:

2017-08-19 at 13 59

@chalmagean try to kill all the alchemist-server process and try it again.

First time you use the plugin in a project, it checks if you have AnsiEsc installed, and run the server with an option that returns ansi chars. If you kill the process and run it again, it returns the docs in markdown.

Oh! You're right. It looks gorgeous now :)

Thanks.