Open mikew opened 8 years ago
@kopischke is right about the paths.
Also, what problem is this solving? Is it just to load ginit.vim
? And why is -u nvimrc
necessary?
It's to stop reloading $MYVIMRC
, and to load ginit.vim
yeah. After further testing, it seems -u nvimrc
is not needed, I was just using it to get 100% control of the startup sequence. But the runtime/after/
stuff is still needed to source ginit.vim
at the right time.
This does a few things:
-u Neovim.app/Resources/nvimrc
, unless specified already by the command lineNeovim.app/Resources/runtime/after
to theruntimepath
so that ...ginit.vim
is sourcedI tried doing
mVim->vim_command("so ~/.config/nvim/init.vim");
, but it happens too late in the startup and someautocmd
s weren't working.