From 1c2832a0a70b4908cd4334593df6ec81c479e6d8 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Mon, 7 Aug 2023 22:53:29 +0800 Subject: [PATCH] docs(alternate): update doc for toml configuration file --- docs/documentation.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/documentation.md b/docs/documentation.md index 4445eed1d..49b6f7a3f 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -2116,7 +2116,17 @@ here is an example of `.project_alt.json`: } ``` -instead of using `.project_alt.json`, `b:alternate_file_config` +Instead of using json file, the alternate file manager also support toml file, for example: + +```toml +["autoload/SpaceVim/layers/lang/*.vim"] + # You can use comments in toml file. + doc = "docs/layers/lang/{}.md" + test = "test/layer/lang/{}.vader" +``` + +If you do not want to use configuration file, +or want to override the default configuration in alternate config file, `b:alternate_file_config` can be used in bootstrap function, for example: ```vim