From d87d0153709281490f1caa911dcb7189b8be6772 Mon Sep 17 00:00:00 2001 From: Leon Connor Holm Date: Tue, 22 Aug 2023 12:09:30 +0200 Subject: [PATCH] fix(#14): rtp --- lua/qvim/core/manager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/qvim/core/manager.lua b/lua/qvim/core/manager.lua index ae66e0e..e548240 100644 --- a/lua/qvim/core/manager.lua +++ b/lua/qvim/core/manager.lua @@ -9,7 +9,7 @@ local plugins_dir = get_qvim_pack_dir() local function ensure_plugins_in_rtp(lazy_install_dir) local rtp = vim.opt.rtp:get() - local base_dir = get_qvim_data_dir():gsub("\\", "/") + local base_dir = get_lazy_rtp_dir():gsub("\\", "/") local idx_base = #rtp + 1 for i, path in ipairs(rtp) do path = path:gsub("\\", "/")