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

how do I detect neovide #24

Closed
prabirshrestha opened this issue Jan 3, 2020 · 6 comments
Closed

how do I detect neovide #24

prabirshrestha opened this issue Jan 3, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@prabirshrestha
Copy link

I would like to check for neovide and set appropriate settings that is only enabled in neovide.

@Kethku
Copy link
Member

Kethku commented Jan 3, 2020

This should be pretty easy to do. I should be able to set an option on connect which can be inspected in init scripts to do neovide specific configuration.

@Kethku Kethku added the enhancement New feature or request label Jan 3, 2020
@Kethku
Copy link
Member

Kethku commented Jan 9, 2020

Fixed. A global variable 'neovide' is now defined on startup before the user config is loaded.

if exists('g:neovide')
  " do neovide specific config
endif

@Kethku Kethku closed this as completed Jan 9, 2020
@ErrEoE
Copy link

ErrEoE commented Mar 10, 2020

how to config transparency?

@Kethku
Copy link
Member

Kethku commented Mar 10, 2020

@ErrEoE
Copy link

ErrEoE commented Mar 10, 2020 via email

@ishammahajan
Copy link

Thanks for the solution @Kethku ! If this were documented I think many people would find it easier.

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

No branches or pull requests

4 participants