Commit graph

7 commits

Author SHA1 Message Date
Riley Bruins
baa0e1c21d refactor: use serde(default), remove optional indirection in Options 2025-04-22 22:29:08 -07:00
Riley Bruins
80e317c12c fix: expand env variables at deserialization step
This allows `check` to also use env var expansion. This commit also
fixes an issue where the config file would not be read if the user
didn't pass in any configuration options during initialization.
2025-04-22 08:55:11 -07:00
Riley Bruins
0aa1fe6a60 feat: support env var expansion for parser installation paths 2025-04-21 21:25:53 -07:00
Riley Bruins
a2d0b72545 fix!: rework allowable_captures
Rename to `valid_captures`, and change the type to a simple map from
capture name to capture description
2025-04-21 21:07:33 -07:00
Riley Bruins
dae06e36c6 chore: descriptions for captures in schema 2025-04-20 18:57:41 -07:00
Riley Bruins
99b10a6cc1 feat: partial support for capture name validation
Currently not support by the `check` subcommand, nor autocompletions or
hover.
2025-04-20 15:33:23 -07:00
Riley Bruins
974f9e9851 feat: generate schema for config file 2025-04-19 22:52:00 -07:00