mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:30:03 +08:00
8 lines
326 B
Plaintext
8 lines
326 B
Plaintext
Execute ( SpaceVim lua api: data.dict ):
|
|
if get(g:, 'spacevim_use_lua', 0)
|
|
let cmp = SpaceVim#api#import('vim#compatible')
|
|
lua spacevim_dict = require('spacevim.api').import('data.dict')
|
|
AssertEqual cmp.luaeval('spacevim_dict.make({"a" , "b", "h"}, {"c", "d"}, "m")'), {'a' : 'c', 'b' : 'd', 'h' : 'm'}
|
|
endif
|
|
|