update config dir

This commit is contained in:
Elflare
2025-07-06 10:10:55 +08:00
parent 753959ccd7
commit e72c04bc0a

View File

@@ -25,8 +25,8 @@ M.config = {
} }
} }
local config_dir = vim.fn.stdpath("config") .. "/memos.nvim" local config_dir = vim.fn.stdpath("data") .. "/memos.nvim"
local config_file_path = config_dir .. "/config.json" local config_file_path = config_dir .. "/memos_config.json"
-- 【修改】全新的、能处理 host 和 token 的交互式配置函数 -- 【修改】全新的、能处理 host 和 token 的交互式配置函数
local function prompt_for_config() local function prompt_for_config()