From 21cf6b3a09a3ea386451de9d172309c4e7e38855 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Wed, 15 Feb 2017 23:49:16 +0800 Subject: [PATCH] Add api --- docs/404.md | 1 + docs/api/file.md | 7 +++++++ docs/api/system.md | 7 +++++++ docs/documentation.md | 9 +++++++++ 4 files changed, 24 insertions(+) create mode 100644 docs/404.md create mode 100644 docs/api/file.md create mode 100644 docs/api/system.md diff --git a/docs/404.md b/docs/404.md new file mode 100644 index 000000000..2b390df7a --- /dev/null +++ b/docs/404.md @@ -0,0 +1 @@ +sorry... diff --git a/docs/api/file.md b/docs/api/file.md new file mode 100644 index 000000000..0a757b21f --- /dev/null +++ b/docs/api/file.md @@ -0,0 +1,7 @@ +--- +title: "file api" +--- + +## values + +## functions diff --git a/docs/api/system.md b/docs/api/system.md new file mode 100644 index 000000000..a5129aec8 --- /dev/null +++ b/docs/api/system.md @@ -0,0 +1,7 @@ +--- +title: "system api" +--- + +## values + +## functions diff --git a/docs/documentation.md b/docs/documentation.md index a21b8b4a9..3f29ad373 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -15,6 +15,7 @@ title: "Documentation" - [multiple leader mode](#multiple-leader-mode) - [Custom configuration](#custom-configuration) - [Layers](https://spacevim.org/layers) +- [APIs](#apis) # Features @@ -481,6 +482,14 @@ let g:spacevim_custom_plugins = [ nnoremap :Ydc ``` +## APIs + +SpaceVim provide many public apis, you can use this apis in your plugins. here is the list of all the apis: + +nanme | description +----- | ------------------ +file | +system |