mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
chore: use Tombi for TOML schema validation (#3932)
This commit is contained in:
parent
62dd22b8da
commit
5ad1e003f2
4 changed files with 9 additions and 7 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
|
# A TOML linter such as https://github.com/tombi-toml/tombi can use this schema to validate your config.
|
||||||
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
|
# If you encounter any problems, please make an issue at https://github.com/yazi-rs/schemas.
|
||||||
"$schema" = "https://yazi-rs.github.io/schemas/keymap.json"
|
|
||||||
|
#:schema https://yazi-rs.github.io/schemas/keymap.json
|
||||||
|
|
||||||
[mgr]
|
[mgr]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
# If you want to dynamically override their content based on dark/light mode, you can specify two different flavors
|
# If you want to dynamically override their content based on dark/light mode, you can specify two different flavors
|
||||||
# for dark and light modes under `[flavor]`, and do so in those flavors instead.
|
# for dark and light modes under `[flavor]`, and do so in those flavors instead.
|
||||||
"$schema" = "https://yazi-rs.github.io/schemas/theme.json"
|
|
||||||
|
|
||||||
|
#:schema https://yazi-rs.github.io/schemas/theme.json
|
||||||
# vim:fileencoding=utf-8:foldmethod=marker
|
# vim:fileencoding=utf-8:foldmethod=marker
|
||||||
|
|
||||||
# : Flavor {{{
|
# : Flavor {{{
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
# If you want to dynamically override their content based on dark/light mode, you can specify two different flavors
|
# If you want to dynamically override their content based on dark/light mode, you can specify two different flavors
|
||||||
# for dark and light modes under `[flavor]`, and do so in those flavors instead.
|
# for dark and light modes under `[flavor]`, and do so in those flavors instead.
|
||||||
"$schema" = "https://yazi-rs.github.io/schemas/theme.json"
|
|
||||||
|
|
||||||
|
#:schema https://yazi-rs.github.io/schemas/theme.json
|
||||||
# vim:fileencoding=utf-8:foldmethod=marker
|
# vim:fileencoding=utf-8:foldmethod=marker
|
||||||
|
|
||||||
# : Flavor {{{
|
# : Flavor {{{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
|
# A TOML linter such as https://github.com/tombi-toml/tombi can use this schema to validate your config.
|
||||||
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
|
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
|
||||||
"$schema" = "https://yazi-rs.github.io/schemas/yazi.json"
|
|
||||||
|
#:schema https://yazi-rs.github.io/schemas/yazi.json
|
||||||
|
|
||||||
[mgr]
|
[mgr]
|
||||||
ratio = [ 1, 4, 3 ]
|
ratio = [ 1, 4, 3 ]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue