-
Notifications
You must be signed in to change notification settings - Fork 68
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
gnvim evaluates has('gui_running') as false #97
Comments
current workaround is to check
Nvim core is working on a I suppose Nvim could shim |
As already mentioned, |
Gotcha, and I just found a parallel discussion in neovim-qt tracker: equalsraf/neovim-qt#94 (comment). I'm just getting back into the neovim world and not up to speed on some of these gotchas. |
neovim/neovim#6917 was merged and is in nvim 0.4.0 so you can use an autocmd to setup your gui stuff. Note however (at least for me) the I'm using something like this: function! s:ui_enter()
if get(v:event, "chan") == 1
" do your gui setup
endif
endfunction
au UIEnter * call s:ui_enter() Also I'm not very experienced with vimscript so if this can be done better please let me know. |
When I start up gnvim and try
it responds with
0
, and it doesn't seem to try to load my$XDG_CONFIG_HOME/nvim/ginit.vim
. Is that an oversight, or somehow intentional?The text was updated successfully, but these errors were encountered: