LivacoNew / CrabFetch

Extremely fast, featureful and customizable command-line fetcher.
Apache License 2.0
21 stars 4 forks source link

feat: added json schema generation #35

Open FlyinPancake opened 2 months ago

FlyinPancake commented 2 months ago

I thought it would be nice to have a JSON schema for the configuration. This is still considered to be a draft, so any changes are welcome, perhaps moving the whole thing behind a feature flag.

This will help people who use LSPs with neovim or VSC to have a nicer experience having type completions with their config files

LivacoNew commented 2 months ago

Seems to work fine with my NeoVim/Taplo setup. I do think this shouldn't be in the actual runtime, and moreso done by us and bundled into releases for people to add in. Best way to do that is indeed hiding it behind a feature flag and then I can just run it myself on release, that way the release binaries don't have this bundled in.

LivacoNew commented 2 months ago

To-Do;