diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2021-10-01 21:49:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-01 21:49:47 +0200 |
| commit | d667dc2a8707e6154ba3a182244ed8b553f27f06 (patch) | |
| tree | 9a8c40310241a4a2d22fd0b4b3c9681b1100599f /example | |
| parent | docs(changelog): fix scroll buffer overwrite when scrolled up (diff) | |
| download | sl0ppij-d667dc2a8707e6154ba3a182244ed8b553f27f06.tar.gz sl0ppij-d667dc2a8707e6154ba3a182244ed8b553f27f06.tar.xz sl0ppij-d667dc2a8707e6154ba3a182244ed8b553f27f06.zip | |
feat(config): Allow empty config files (#720)
Fix #714
Allow empty `config` and `layout` files
- Currently empty files are parsed as yaml documents, since they
are empty they are invalid yaml files and a deseralization error would
follow.
Now we ignore the incorrect yaml on an empty document and treat it as
an empty yaml document.
Eg:
```
```
and
```
---
```
Are now treated equally.
Alternative: Keep treating the files as `yaml` documents.
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions
