Mention in readme that ~ is null in YAML
This is a weird YAML gotcha, and it seems worth mentioning in the readme since Dotbot users are likely to run into it.
This commit is contained in:
parent
b482cbda58
commit
54346fa942
1 changed files with 3 additions and 0 deletions
|
@ -151,6 +151,9 @@ do not have a defined ordering.
|
||||||
When writing nested constructs, keep in mind that YAML is whitespace-sensitive.
|
When writing nested constructs, keep in mind that YAML is whitespace-sensitive.
|
||||||
Following the formatting used in the examples is a good idea.
|
Following the formatting used in the examples is a good idea.
|
||||||
|
|
||||||
|
Also, note that `~` in YAML is the same as `null` in JSON. If you want a single
|
||||||
|
character string containing a tilde, make sure to enclose it in quotes: `'~'`
|
||||||
|
|
||||||
### Link
|
### Link
|
||||||
|
|
||||||
Link commands specify how files and directories should be symbolically linked.
|
Link commands specify how files and directories should be symbolically linked.
|
||||||
|
|
Loading…
Reference in a new issue