Fork me on GitHub


A community-driven vim distribution

Home | About | Documentation | Development | Community | Sponsors

SpaceVim public APIs:

SpaceVim provide many public apis, you can use this apis in your plugins. SpaceVim api got inspired by vital.vim


let s:file = SpaceVim#api#import('file')
let s:system = SpaceVim#api#import('system')

if s:system.isWindows
    echom "Os is Windows"
echom s:file.separator
echom s:file.pathSeparator

here is the list of all the apis, and welcome to contribute to SpaceVim.

name description documentation
file basic api about file and directory readme
system basic api about system readme

Hosted on GitHub, Help improve this page — Theme by mattgraham,