mirror of
https://github.com/neovim/neovim.git
synced 2025-12-17 11:55:34 +00:00
test: don't process vimrc #2511
676133aa introduced a new test for calling a nvim instance recursively.
But without '-u NONE', the vimrc (and all plugins) get loaded too, which
breaks the test for things that do stuff on VimEnter.
This commit is contained in:
committed by
Justin M. Keyes
parent
f8151735a3
commit
5b94632f6e
@@ -118,7 +118,7 @@ describe('server -> client', function()
|
|||||||
|
|
||||||
describe('when the client is a recursive vim instance', function()
|
describe('when the client is a recursive vim instance', function()
|
||||||
before_each(function()
|
before_each(function()
|
||||||
nvim('command', "let vim = rpcstart('"..nvim_prog.."', ['--embed'])")
|
nvim('command', "let vim = rpcstart('"..nvim_prog.."', ['-u', 'NONE', '--embed'])")
|
||||||
neq(0, eval('vim'))
|
neq(0, eval('vim'))
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user