From e41266dbe3f16987c8aa3bdad307f64bca1856cb Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Fri, 12 Jan 2024 07:15:36 -0500 Subject: [PATCH] chore: add schema urls to preset config (#506) --- yazi-config/preset/keymap.toml | 4 ++++ yazi-config/preset/theme.toml | 4 ++++ yazi-config/preset/yazi.toml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/yazi-config/preset/keymap.toml b/yazi-config/preset/keymap.toml index 177ac0b5..0957ca42 100644 --- a/yazi-config/preset/keymap.toml +++ b/yazi-config/preset/keymap.toml @@ -1,3 +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" + [manager] keymap = [ diff --git a/yazi-config/preset/theme.toml b/yazi-config/preset/theme.toml index 2352e132..9d86d265 100644 --- a/yazi-config/preset/theme.toml +++ b/yazi-config/preset/theme.toml @@ -1,3 +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/theme.json" + # vim:fileencoding=utf-8:foldmethod=marker # : Manager {{{ diff --git a/yazi-config/preset/yazi.toml b/yazi-config/preset/yazi.toml index d3b9a2c6..dfcd0341 100644 --- a/yazi-config/preset/yazi.toml +++ b/yazi-config/preset/yazi.toml @@ -1,3 +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/yazi.json" + [manager] ratio = [ 1, 4, 3 ] sort_by = "modified"