Skip to content

Commit

Permalink
Update readme with schema completion & validation examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnymeller committed Jun 2, 2024
1 parent 7585ee8 commit 8b073fd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,14 @@ When you update `twm`, you can run `twm --print-config-schema > $XDG_CONFIG_HOME

For a full list of configuration options with examples, see [CONFIGURATION.md](./doc/CONFIGURATION.md)

### Configuration Validation Examples

Here's what the in-editor config validation looks like in neovim with using `yaml-language-server`:

![twm configuration completion](https://raw.githubusercontent.com/vinnymeller/twm-assets/master/twm-config-completion.png)

![twm configuration validation](https://raw.githubusercontent.com/vinnymeller/twm-assets/master/twm-config-errors.png)


## Recipes

Expand Down

0 comments on commit 8b073fd

Please sign in to comment.