main: do event_init before early_init #10183

Fixes https://github.com/neovim/neovim/issues/10172

* move log_init to event_init
* move init_signs to end of early_init
This commit is contained in:
Daniel Hahler
2019-06-12 14:22:42 +02:00
committed by Justin M. Keyes
parent babcf641ef
commit 6f27f5ef91
2 changed files with 10 additions and 4 deletions

View File

@@ -221,6 +221,11 @@ describe('startup', function()
clear{args={'--embed'}}
eq(2, eval('1+1'))
end)
it('does not crash when expanding cdpath during early_init', function()
clear{env={CDPATH='~doesnotexist'}}
eq(',~doesnotexist', eval('&cdpath'))
end)
end)
describe('sysinit', function()