diff --git a/yazi-config/preset/keymap-default.toml b/yazi-config/preset/keymap-default.toml index 447cb98e..242e4325 100644 --- a/yazi-config/preset/keymap-default.toml +++ b/yazi-config/preset/keymap-default.toml @@ -1,6 +1,7 @@ -# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config. -# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas. -"$schema" = "https://yazi-rs.github.io/schemas/keymap.json" +# A TOML linter such as https://github.com/tombi-toml/tombi can use this schema to validate your config. +# 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 [mgr] diff --git a/yazi-config/preset/theme-dark.toml b/yazi-config/preset/theme-dark.toml index 6cb2a61d..acfe6527 100644 --- a/yazi-config/preset/theme-dark.toml +++ b/yazi-config/preset/theme-dark.toml @@ -3,8 +3,8 @@ # 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. -"$schema" = "https://yazi-rs.github.io/schemas/theme.json" +#:schema https://yazi-rs.github.io/schemas/theme.json # vim:fileencoding=utf-8:foldmethod=marker # : Flavor {{{ diff --git a/yazi-config/preset/theme-light.toml b/yazi-config/preset/theme-light.toml index b2ee831d..7730c866 100644 --- a/yazi-config/preset/theme-light.toml +++ b/yazi-config/preset/theme-light.toml @@ -3,8 +3,8 @@ # 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. -"$schema" = "https://yazi-rs.github.io/schemas/theme.json" +#:schema https://yazi-rs.github.io/schemas/theme.json # vim:fileencoding=utf-8:foldmethod=marker # : Flavor {{{ diff --git a/yazi-config/preset/yazi-default.toml b/yazi-config/preset/yazi-default.toml index f6566e5c..80e9726f 100644 --- a/yazi-config/preset/yazi-default.toml +++ b/yazi-config/preset/yazi-default.toml @@ -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. -"$schema" = "https://yazi-rs.github.io/schemas/yazi.json" + +#:schema https://yazi-rs.github.io/schemas/yazi.json [mgr] ratio = [ 1, 4, 3 ]