1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 12:00:05 +08:00
SpaceVim/test/lua/data/toml.vader

11 lines
328 B
Plaintext
Raw Normal View History

2023-08-09 02:50:34 +08:00
Execute ( SpaceVim lua api: data#toml ):
2024-03-22 20:15:00 +08:00
if !has('nvim-0.7.2')
Log 'skip lua test'
2023-08-09 02:50:34 +08:00
finish
endif
let cmp = SpaceVim#api#import('vim#compatible')
lua sp_toml = require('spacevim.api').import('data.toml')
AssertEqual cmp.luaeval("sp_toml.parse_file('mode/basic.toml').options.colorscheme"), 'gruvbox'