1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 02:00:05 +08:00

docs(alternate): update doc for toml configuration file

This commit is contained in:
wsdjeg 2023-08-07 22:53:29 +08:00
parent d3478808e8
commit 1c2832a0a7

View File

@ -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