Neovide: `:echo has('gui_running')` returns 0

Created on 1 Apr 2020  Â·  4Comments  Â·  Source: Kethku/neovide

When running neovide, my old config for gvim fails because has('gui_running') returns 0.

Is this intended?

It also changes the behavior of other plugins like solarized that check for a gui running.

All 4 comments

Nope not intended. I didn't know it was something that was needed. I'll add it.

Apparently this is a neovim decision. They decided to never set gui_running to 1. https://github.com/neovim/neovim/pull/4155

I have confirmed the same in neovim-qt

Ah, dang, I should have checked. neovide is actually the first GUI project that made me come out of my "shell"…

A quick googling revealed that the solarized colorscheme apparently received an updated fork in the meantime, so I'll just use that instead.

Thanks!

Badump tsss!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lijaesela picture lijaesela  Â·  3Comments

chipaltman picture chipaltman  Â·  5Comments

prabirshrestha picture prabirshrestha  Â·  6Comments

noelzubin picture noelzubin  Â·  6Comments

basus picture basus  Â·  4Comments