docs: add missing version parameter

This commit is contained in:
Jan De Dobbeleer 2022-11-09 07:56:23 +01:00 committed by Jan De Dobbeleer
parent c0c230879a
commit 3f83944dc3

View file

@ -31,6 +31,7 @@ starting point to create your own configuration.
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": true,
"version": 2,
"blocks": [
{
"type": "prompt",
@ -58,6 +59,7 @@ starting point to create your own configuration.
```yaml
# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
final_space: true
version: 2
blocks:
- type: prompt
alignment: left
@ -77,6 +79,7 @@ blocks:
```toml
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
final_space = true
version = 2
[[blocks]]
type = "prompt"