Merge pull request #15516 from bfredl/keyset

refactor(api): Represent option dicts as a structs in C and reduce conversion overhead from lua
This commit is contained in:
Björn Linse
2021-10-03 14:31:53 +02:00
committed by GitHub
22 changed files with 729 additions and 536 deletions

View File

@@ -1119,7 +1119,7 @@ describe('API', function()
describe('nvim_get_context', function()
it('validates args', function()
eq('unexpected key: blah',
eq("Invalid key: 'blah'",
pcall_err(nvim, 'get_context', {blah={}}))
eq('invalid value for key: types',
pcall_err(nvim, 'get_context', {types=42}))