mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 22:30:04 +08:00
668 B
668 B
title | description |
---|---|
data#toml API | data#toml API provides some basic functions and values for toml. |
Available APIs >> data#toml
Intro
data#toml
API provides some functions to manipulate a toml. Here is an example for using this api:
let s:TOML = SpaceVim#api#import('data#toml')
let json = s:TOML.parse_file('~/.SpaceVim.d/init.toml')
functions
name | description |
---|---|
parse(str) |
parse content |
parse_file(path) |
parse a toml file |