mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-22 17:05:42 +08:00
Update help file
This commit is contained in:
parent
7dcd9b9e87
commit
c1b5958622
13
docs/faq.md
13
docs/faq.md
@ -19,13 +19,14 @@ this is a list of most asked questions about SpaceVim.
|
|||||||
|
|
||||||
### Why use toml file as default configuration file?
|
### Why use toml file as default configuration file?
|
||||||
|
|
||||||
In the old version of SpaceVim, we use vim script as configuration file, but this brings many bug.
|
In the old version of SpaceVim, we use vim file as configuration file. But this introduces a lot of problems.
|
||||||
When using vim file, the configuration are executed when loading the configuration file, that means
|
When loading vim file, the file content is executed line by line. that means if there is error in the
|
||||||
if there is error in the configuration file, the content before the error line also will be executed.
|
configuration file, the content before the error also will be executed.
|
||||||
This will cause unknown issue.
|
This will lead to unforeseen problems.
|
||||||
|
|
||||||
So, we are going to using another language to config SpaceVim, SpaceVim will load the whole configuration
|
So we're going to use a more robust language to configure SpaceVim. SpaceVim will load the
|
||||||
file. If there is error in this configuration file, all the configuration will be abandoned.
|
full configuration file, and if there are syntax errors in the configuration file, the
|
||||||
|
entire configuration will be discarded.
|
||||||
|
|
||||||
1. yaml relies on indentation and is error-prone when configuring transitions, regardless
|
1. yaml relies on indentation and is error-prone when configuring transitions, regardless
|
||||||
2. XML lacks a vim parsing library, so it is not considered
|
2. XML lacks a vim parsing library, so it is not considered
|
||||||
|
Loading…
x
Reference in New Issue
Block a user