From 97ab90b09ffcc8edfc55fba39190eb890630a823 Mon Sep 17 00:00:00 2001 From: Mika Vilpas Date: Sun, 7 Apr 2024 20:04:31 +0300 Subject: [PATCH] refactor(config): fields are optional this is how they should have been from the start --- lua/yazi/types.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/yazi/types.lua b/lua/yazi/types.lua index d1d8f1ec..cac66791 100644 --- a/lua/yazi/types.lua +++ b/lua/yazi/types.lua @@ -1,7 +1,7 @@ ---@class YaziConfig ----@field public open_for_directories boolean ----@field public chosen_file_path string "the path to a temporary file that will be created by yazi to store the chosen file path" ----@field public events_file_path string "the path to a temporary file that will be created by yazi to store events" +---@field public open_for_directories? boolean +---@field public chosen_file_path? string "the path to a temporary file that will be created by yazi to store the chosen file path" +---@field public events_file_path? string "the path to a temporary file that will be created by yazi to store events" ---@class YaziRenameEvent ---@field public type "rename"