Oni: I get the 'Unable to Launch Neovim' error after I quit.

Created on 28 Nov 2017  路  7Comments  路  Source: onivim/oni

On OSX, if I open a new file I can edit it just fine, everything works, but after I close it I get the error saying to update neovim

bug

Most helpful comment

@bryphe this has been resolved by the latest master I built

All 7 comments

Also might be unrelated but I can't get typescript highlighting in oni

On OSX, if I open a new file I can edit it just fine, everything works, but after I close it I get the error saying to update neovim

Hmm, I'm not able to reproduce this. Couple questions:

  • Are you running the latest master build, or the last released build (0.2.17)?
  • How are you opening Oni? From a terminal or from the dock?
  • How are you closing Oni? :q or another way?

Might be that I'm closing Oni in a different way and not seeing it.

Also might be unrelated but I can't get typescript highlighting in oni

Ah ya, #988 is tracking that. We're switching to a more robust strategy using TextMate themes. It's actually in-progress in master, and can be enabled via the experimental.textMateHighlighting.enabled flag (some more info in the wiki: https://github.com/onivim/oni/wiki/Configuration#textmate-highlighting

@bryphe I'm usually always running latest master but I downloaded the latest release binary and it also has the bug. I disabled my init.vim and it stopped so I'm going to try and narrow it down and figure out where the conflict is

call plug#begin()

Plug 'scrooloose/nerdtree'

call plug#end()

autocmd VimEnter * NERDTree
autocmd Vimenter * wincmd p
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif

This is it.

This code basically just checks to see if nerdtree is the last thing open, and if it is then it auto closes it.

Ah ok, thanks for the info! That's helpful to know that it doesn't repro w/o those autocmds.

I'm hoping once #886 is in there will be less of a need for NERDTree anyway 馃槈

One other thing I just realized regarding the syntax highlighting - we moved some of the plugins to submodules, so you'll need to run git submodule update --init --recursive - otherwise the typescript vim plugin we use won't be around anymore.

@bryphe fwiw I probably wouldn't use a builtin file explorer untless it felt like I was using it within vim, i.e. my bindings for switching windows and such would work in it.

I feel like this is true for a lot (although not all) of vim users. NERDTree is pretty popular.

@bryphe this has been resolved by the latest master I built

Was this page helpful?
0 / 5 - 0 ratings