cloudhead / neovim-fuzzy

Minimalistic fuzzy file finding for neovim
BSD 3-Clause "New" or "Revised" License
111 stars 17 forks source link

Strip colors #4

Closed balta2ar closed 8 years ago

balta2ar commented 8 years ago

Someone's leaving colors in the output, and it looks as if nvim can't open the file because of that:

I tried adding --nocolor to https://github.com/cloudhead/neovim-fuzzy/blob/master/plugin/neovim-fuzzy.vim#L12, but it didn't help...

balta2ar commented 8 years ago

adding --nocolor [...] didn't help.

It turned out it wasn't true. I'm using dein, so I had to do this after I hacked your plugin's source:

:call dein#recache_runtimepath()

So in fact, --nocolor helped. Though I still think stripping out colors is a good idea.

cloudhead commented 8 years ago

Yikes. Not sure why I haven't run into this, but I fixed it here: https://github.com/cloudhead/neovim-fuzzy/commit/1ef2ffede8f874b83f7f09a89bd8a0cf5cd488e1

Cheers

balta2ar commented 8 years ago

Thanks!