From c502953b531de04c19fcb8003d8eb18718b6a61e Mon Sep 17 00:00:00 2001 From: Dung Huynh Duc Date: Mon, 30 Sep 2024 22:50:25 +0800 Subject: [PATCH] feat(config): add file_root directory configuration option Closed #195 --- lua/hurl/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/hurl/init.lua b/lua/hurl/init.lua index d5594e2..826abb6 100644 --- a/lua/hurl/init.lua +++ b/lua/hurl/init.lua @@ -51,6 +51,8 @@ local default_config = { next_panel = '', -- Move to the next response popup window prev_panel = '', -- Move to the previous response popup window }, + -- File root directory for uploading files + -- file_root = vim.fn.getcwd(), } --- Global configuration for entire plugin, easy to access from anywhere _HURL_GLOBAL_CONFIG = default_config